Skip to content

Commit 8a87cdb

Browse files
committed

File tree

7 files changed

+13
-2
lines changed

7 files changed

+13
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ repos:
3434
- id: black
3535

3636
- repo: https://github.com/timothycrosley/isort
37-
rev: 5.10.1
37+
rev: 5.12.0
3838
hooks:
3939
- id: isort
4040

4141
- repo: https://github.com/pycqa/flake8
42-
rev: 5.0.4
42+
rev: 6.0.0
4343
hooks:
4444
- id: flake8
4545

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
graft src
2+
prune tests
3+
prune **/__pycache__

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ build-backend = "setuptools.build_meta"
55
[tool.isort]
66
profile = "black"
77
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
8+
9+
[tool.pytest.ini_options]
10+
addopts = ["--import-mode=importlib"]

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ license = MIT
1111

1212
[options]
1313
packages = find:
14+
package_dir =
15+
= src
1416
python_requires = >= 3.7
1517
include_package_data = True
1618

19+
[options.packages.find]
20+
where = src
21+
1722
[options.package_data]
1823
logfmter = py.typed
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)