Skip to content
Draft
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
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

- name: Ruff
run: |
python -m ruff check .
python -m ruff format --check .
python -m ruff check
python -m ruff format --check

- name: Type Check
run: |
python -m mypy testtools
python -m mypy

test:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ warn_unused_ignores = false
# FIXME(stephenfin): We should remove this
implicit_reexport = true
exclude = 'doc'
files = [
"testtools",
"tests",
]

[[tool.mypy.overrides]]
module = [
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ commands =
deps =
ruff
commands =
ruff check --fix .
ruff format .
ruff check --fix
ruff format

[testenv:mypy]
deps =
mypy
commands =
mypy --cache-dir="{envdir}/mypy_cache" {posargs:testtools}
mypy --cache-dir="{envdir}/mypy_cache" {posargs}
Loading