Skip to content

Commit fa58934

Browse files
committed
2 parents 5c9198c + 7fe4ab8 commit fa58934

File tree

5 files changed

+30
-10
lines changed

5 files changed

+30
-10
lines changed

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[run]
22
omit =
3+
# leading `*/` for pytest-dev/pytest-cov#456
34
*/.tox/*
45
tests/*
56
prepare/*

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

pytest.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ doctest_optionflags=ALLOW_UNICODE ELLIPSIS
55
# workaround for warning pytest-dev/pytest#6178
66
junit_family=xunit2
77
filterwarnings=
8-
# https://github.com/pytest-dev/pytest/issues/6928
9-
ignore:direct construction of .*Item has been deprecated:DeprecationWarning

setup.cfg

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers =
1515
Programming Language :: Python :: 3 :: Only
1616

1717
[options]
18-
packages = find:
18+
packages = find_namespace:
1919
include_package_data = true
2020
python_requires = >=3.6
2121
install_requires =
@@ -25,19 +25,25 @@ setup_requires = setuptools_scm[toml] >= 3.4.1
2525

2626
[options.packages.find]
2727
exclude =
28+
build*
29+
dist*
30+
docs*
2831
tests*
29-
docs
3032

3133
[options.extras_require]
3234
testing =
3335
# upstream
34-
pytest >= 3.5, !=3.7.3
35-
pytest-checkdocs >= 1.2.3
36+
pytest >= 4.6
37+
pytest-checkdocs >= 2.4
3638
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"
3842
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
4147

4248
# local
4349
importlib_resources>=1.3; python_version < "3.9"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ commands =
5151
skip_install = True
5252
deps =
5353
build
54-
twine[keyring]>=1.13
54+
twine>=3
5555
path
5656
jaraco.develop>=7.1
5757
passenv =

0 commit comments

Comments
 (0)