forked from poliastro/poliastro
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
40 lines (37 loc) · 768 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tool:pytest]
norecursedirs =
.git
dist
build
python_files =
test_*.py
doctest_plus = disabled
addopts = --strict
markers =
slow
remote_data
filterwarnings
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
[tool:tox]
envlist =
check
[testenv:check]
deps =
black
docutils
isort
flake8
mypy
pygments
skip_install = true
usedevelop = false
commands =
python setup.py check --strict --metadata --restructuredtext
flake8 src setup.py
isort --check-only --diff --recursive --project poliastro --section-default THIRDPARTY src setup.py
black --check src setup.py
mypy --ignore-missing-imports --check-untyped-defs --no-strict-optional src