Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/push-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,13 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with:
args: check --select I --fix --diff
args: check --select I --fix --diff

nbqa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install nbqa
run: pip install mypy nbqa
- name: run nbqa
run: nbqa mypy --ignore-missing-imports --strict-equality .
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,11 @@ extend-exclude = '''
^/docs
)
'''

[tool.mypy]
enable_error_code = "deprecated"
exclude = ['docs/conf.py']

[[tool.mypy.overrides]]
module = 'tests'
enable_error_code = []
Loading