-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e682a3
commit a9095e8
Showing
13 changed files
with
201 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ['python'] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Documentation | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
pip install -e . | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [ main, master ] | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
- uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: ci-test | ||
|
||
on: | ||
push: | ||
branches: [ main, master ] | ||
pull_request: | ||
branches: [ main, master ] | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
pip install -e . | ||
- name: Testing | ||
run: | | ||
python -m pytest tests | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
pip install -e . | ||
- name: Testing | ||
run: | | ||
python -m pytest --cov=fastvector tests | ||
python -m codecov | ||
build-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
pip install -e . | ||
- name: Testing | ||
run: | | ||
python -m pytest tests |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
site_name: DISTNAME | ||
site_description: "This is a simple vector python package." | ||
|
||
repo_url: https://github.com/franneck94/Python-Project-Template | ||
repo_name: franneck94/Python-Project-Template | ||
|
||
theme: | ||
icon: | ||
repo: fontawesome/brands/github | ||
name: "material" | ||
palette: | ||
- media: "(prefers-color-scheme: light)" | ||
primary: "blue" | ||
accent: "grey" | ||
scheme: default | ||
toggle: | ||
icon: material/toggle-switch-off-outline | ||
name: Switch to dark mode | ||
- media: "(prefers-color-scheme: dark)" | ||
primary: "blue" | ||
accent: "white" | ||
scheme: slate | ||
toggle: | ||
icon: material/toggle-switch | ||
name: Switch to light mode | ||
|
||
plugins: | ||
- search | ||
- mkdocstrings | ||
|
||
markdown_extensions: | ||
- pymdownx.highlight | ||
- pymdownx.superfences | ||
|
||
nav: | ||
- "Start": index.md | ||
- "API": api.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
setuptools>=68.2.2 | ||
# Packaging | ||
# python -m pip install -U pip | ||
build>=1.0.3 | ||
twine>=4.0.2 | ||
twine>=5.0.0 | ||
setuptools>=69.1.0 | ||
|
||
# Linting/Tooling | ||
black>=23.10.1 | ||
isort>=5.12.0 | ||
mypy>=1.6.1 | ||
pre-commit>=3.5.0 | ||
ruff>=0.1.3 | ||
pyright>=1.1.333 | ||
# Jupyter | ||
ipython>=8.21.0 | ||
ipykernel>=6.29.2 | ||
|
||
# Linting/Formatting | ||
ruff>=0.2.1 | ||
black>=24.2.0 | ||
isort>=5.13.2 | ||
|
||
# Tooling | ||
pre-commit>=3.6.1 | ||
|
||
# Type Checker | ||
mypy>=1.8.0 | ||
mypy-extensions>=1.0.0 | ||
pyright>=1.1.350 | ||
|
||
# Testing | ||
pytest>=7.4.3 | ||
codecov>=2.1.13 | ||
pytest>=8.0.0 | ||
pytest-cov>=4.1.0 | ||
pytest-benchmark>=4.0.0 | ||
codecov>=2.1.13 | ||
tox>=4.12.1 | ||
|
||
# Documentation | ||
mkdocs>=1.5.3 | ||
mkdocstrings>=0.23.0 | ||
mkdocstrings-python>=1.7.3 | ||
mkdocs-material>=9.4.6 | ||
Pygments>=2.16.1 | ||
mkdocstrings>=0.24.0 | ||
mkdocs-material>=9.5.9 | ||
mkdocstrings-python>=1.8.0 | ||
Pygments>=2.17.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ keras>=2.0 | |
scikit-learn | ||
scipy | ||
numpy | ||
|
||
-r requirements-dev.txt |