(3.1.0)
- improved version logic - now using hatch and hatch-vcs to automatically generate versions based on git tag / git commit / distance from last tag - raise an error if the voices cache is not populated correctly - lint with mypy in actions - use pyproject.toml for pylint configuration
This commit is contained in:
parent
a7113babb7
commit
c4205fc4f1
10 changed files with 66 additions and 28 deletions
|
@ -45,7 +45,7 @@ jobs:
|
|||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
lint:
|
||||
name: Lint with Ruff & Pylint
|
||||
name: Lint with Ruff, Pylint, & MyPy
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/cswimr/actions:uv
|
||||
steps:
|
||||
|
@ -65,7 +65,16 @@ jobs:
|
|||
continue-on-error: true
|
||||
|
||||
- name: Analysing code with Pylint
|
||||
run: uv run pylint --rcfile=.forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
run: uv run pylint $(git ls-files '*.py')
|
||||
continue-on-error: true
|
||||
|
||||
- name: Type checking with MyPy
|
||||
run: uv run mypy $(git ls-files '*.py')
|
||||
continue-on-error: true
|
||||
|
||||
- name: Running tests # this will be moved to a separate job once I actually migrate to a dedicated test suite
|
||||
run: uv run tests/tests.py
|
||||
|
||||
|
||||
docs:
|
||||
name: Build Documentation
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=
|
||||
line-too-long,
|
||||
missing-module-docstring,
|
||||
too-many-arguments,
|
||||
too-few-public-methods,
|
Loading…
Add table
Add a link
Reference in a new issue