Skip to content

Commit 520bdda

Browse files
committed
style: fix isort config
`isort` was misconfigured to only touch `*.{pyw,pyi}` files. This patch fixes isort config so that it actually does sort imports. It also removes the attempt to ignore the test directory.
1 parent d711a35 commit 520bdda

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

setup.cfg

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,30 @@ follow_imports = skip
4646
profile = black
4747
py_version = 37
4848
line_length = 88
49+
src_paths=rdflib,test
4950
supported_extensions =
5051
pyw
5152
pyi
53+
py
5254
skip =
53-
.eggs # exclude a few common directories in the
54-
.git # root of the project
55-
.hg
56-
.mypy_cache
57-
.pytest_cache
58-
.tox
59-
.venv
60-
.github
61-
_build
62-
htmlcov
63-
benchmarks
64-
examples # No need to Black examples
65-
test # Tests are a mess, don't black them
66-
test_reports
67-
rdflib.egg-info
68-
buck-out
69-
build
70-
dist
71-
venv
55+
.eggs, # exclude a few common directories in the
56+
.git, # root of the project
57+
.hg,
58+
.mypy_cache,
59+
.pytest_cache,
60+
.tox,
61+
.venv,
62+
.github,
63+
_build,
64+
htmlcov,
65+
benchmarks,
66+
examples, # No need to Black examples
67+
test_reports,
68+
rdflib.egg-info,
69+
buck-out,
70+
build,
71+
dist,
72+
venv,
7273

7374
[tool:pytest]
7475
addopts =

0 commit comments

Comments
 (0)