Revert "Reverting to 0.6.1"

This reverts commit 2033f80258.

All the changes were introduced in #86. Reference it for full history.
This commit is contained in:
Marek Pikuła
2023-06-04 15:56:29 +00:00
parent fac78823a3
commit 35dae98e87
26 changed files with 5190 additions and 2090 deletions

39
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types:
- published
schedule:
- cron: "0 0 * * 0"
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tool:
- "black --check --diff"
- "isort --check --diff"
- "pydocstyle"
- "pylint --disable=fixme"
- "ruff"
- "mypy"
steps:
- uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Install dependencies
run: poetry install --only main,dev
- name: Run formatter
run: poetry run ${{ matrix.tool }} *.py