We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7ac6bb + 765f81a commit d919868Copy full SHA for d919868
tox.ini
@@ -1,9 +1,9 @@
1
[tox]
2
-minversion = 3.9.0
+minversion = 4.0.0
3
envlist =
4
lint
5
docs
6
- py{37,38,39,310}
+ py{37,38,39,310,311}
7
isolated_build = True
8
9
[testenv]
@@ -27,10 +27,20 @@ commands =
27
28
[testenv:lint]
29
description = Runs all linting tasks
30
+commands_pre =
31
+ poetry install -vv --with lint
32
commands =
- black .
- mypy -p rich --config-file= --ignore-missing-imports --no-implicit-optional --warn-unreachable
33
+ ; poetry install --only dev
34
+ # as long GHA pipelines are not configured to use tox, we should call
35
+ # `make` in order to make testing similar and prevent divergence.
36
+ make format-check
37
+ make typecheck
38
+deps =
39
+ poetry
40
skip_install = true
41
+allowlist_externals =
42
+ make
43
44
45
[testenv:docs]
46
description = Builds documentation
0 commit comments