This commit is contained in:
parent
e5b2043298
commit
4ffb502c89
17
.woodpecker/linting.yml
Normal file
17
.woodpecker/linting.yml
Normal file
@ -0,0 +1,17 @@
|
||||
# https://woodpecker-ci.org/docs/usage/pipeline-syntax
|
||||
pipeline:
|
||||
typecheck:
|
||||
image: python:latest
|
||||
group: linting
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U pyright --quiet
|
||||
- pyright
|
||||
|
||||
format:
|
||||
image: python:latest
|
||||
group: linting
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U black --quiet
|
||||
- black --check --diff --color --verbose .
|
4
pyproject.toml
Normal file
4
pyproject.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[tool.pyright]
|
||||
#https://github.com/microsoft/pyright/blob/main/docs/configuration.md
|
||||
typeCheckingMode = "strict"
|
||||
reportUnusedImport = "warning"
|
Loading…
Reference in New Issue
Block a user