(3.1.0)
Some checks failed
Actions / Build (push) Failing after 19s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 25s

- 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:
cswimr 2024-11-15 11:14:33 -05:00
parent a7113babb7
commit c4205fc4f1
Signed by: cswimr
GPG key ID: A9C162E867C851FA
10 changed files with 66 additions and 28 deletions

View file

@ -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

View file

@ -1,6 +0,0 @@
[MESSAGES CONTROL]
disable=
line-too-long,
missing-module-docstring,
too-many-arguments,
too-few-public-methods,