-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
7 changed files
with
480 additions
and
573 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -18,15 +18,15 @@ jobs: | |
- name: Python Setup | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
python-version: "3.11" | ||
|
||
- name: Lint Checks | ||
- name: Pre-commit Checks | ||
uses: pre-commit/[email protected] | ||
|
||
- name: Type Checks | ||
run: | | ||
pip install poetry | ||
poetry install | ||
poetry run flake8 | ||
poetry run isort --check nexus_pcv | ||
poetry run black --check nexus_pcv | ||
poetry run mypy nexus_pcv | ||
test: | ||
|
@@ -36,11 +36,11 @@ jobs: | |
strategy: | ||
matrix: | ||
python: | ||
- '3.8' | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -73,7 +73,7 @@ jobs: | |
echo "jobSuccess=fail" >> $GITHUB_ENV | ||
fi | ||
id: print_status | ||
|
||
- name: Webex Notification | ||
if: always() | ||
uses: qsnyder/action-wxt@master | ||
|
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,16 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.5.6 | ||
hooks: | ||
- id: black | ||
args: | ||
- --safe | ||
- --quiet | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
- id: ruff | ||
- id: ruff-format |
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 |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
|
||
# Copyright: (c) 2022, Daniel Schmidt <[email protected]> | ||
|
||
from importlib.metadata import PackageNotFoundError, version # type: ignore | ||
from importlib.metadata import version # type: ignore | ||
|
||
try: | ||
__version__ = version(__name__) | ||
except PackageNotFoundError: # pragma: no cover | ||
__version__ = "unknown" | ||
__version__ = version(__name__) |
Large diffs are not rendered by default.
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