File tree 5 files changed +30
-10
lines changed
5 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
2
omit =
3
+ # leading `*/` for pytest-dev/pytest-cov#456
3
4
*/.tox/*
4
5
tests/*
5
6
prepare/*
Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ charset = utf-8
5
+ indent_style = tab
6
+ indent_size = 4
7
+ insert_final_newline = true
8
+ end_of_line = lf
9
+
10
+ [* .py ]
11
+ indent_style = space
12
+
13
+ [* .{yml,yaml} ]
14
+ indent_style = space
15
+ indent_size = 2
Original file line number Diff line number Diff line change @@ -5,5 +5,3 @@ doctest_optionflags=ALLOW_UNICODE ELLIPSIS
5
5
# workaround for warning pytest-dev/pytest#6178
6
6
junit_family =xunit2
7
7
filterwarnings =
8
- # https://github.com/pytest-dev/pytest/issues/6928
9
- ignore:direct construction of .*Item has been deprecated:DeprecationWarning
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ classifiers =
15
15
Programming Language :: Python :: 3 :: Only
16
16
17
17
[options]
18
- packages = find :
18
+ packages = find_namespace :
19
19
include_package_data = true
20
20
python_requires = >=3.6
21
21
install_requires =
@@ -25,19 +25,25 @@ setup_requires = setuptools_scm[toml] >= 3.4.1
25
25
26
26
[options.packages.find]
27
27
exclude =
28
+ build*
29
+ dist*
30
+ docs*
28
31
tests*
29
- docs
30
32
31
33
[options.extras_require]
32
34
testing =
33
35
# upstream
34
- pytest >= 3.5, !=3.7.3
35
- pytest-checkdocs >= 1.2.3
36
+ pytest >= 4.6
37
+ pytest-checkdocs >= 2.4
36
38
pytest-flake8
37
- pytest-black >= 0.3.7; python_implementation != "PyPy"
39
+ # python_implementation: workaround for jaraco/skeleton#22
40
+ # python_version: workaround for python/typed_ast#156
41
+ pytest-black >= 0.3.7; python_implementation != "PyPy" and python_version < "3.10"
38
42
pytest-cov
39
- pytest-mypy; python_implementation != "PyPy"
40
- pytest-enabler
43
+ # python_implementation: workaround for jaraco/skeleton#22
44
+ # python_version: workaround for python/typed_ast#156
45
+ pytest-mypy; python_implementation != "PyPy" and python_version < "3.10"
46
+ pytest-enabler >= 1.0.1
41
47
42
48
# local
43
49
importlib_resources>=1.3; python_version < "3.9"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ commands =
51
51
skip_install = True
52
52
deps =
53
53
build
54
- twine[keyring]>=1.13
54
+ twine>=3
55
55
path
56
56
jaraco.develop>=7.1
57
57
passenv =
You can’t perform that action at this time.
0 commit comments