Skip to content

Commit 1292b22

Browse files
Respect new source directory
1 parent 3acff12 commit 1292b22

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation = "https://python-typeclasses.readthedocs.io/"
77
repository = "https://github.com/thejohnfreeman/python-typeclasses/"
88
readme = "README.rst"
99
license = "ISC"
10-
packages = [{ include = "typeclasses" }]
10+
packages = [{include = "typeclasses", from = "src"}]
1111

1212
[tool.poetry.dependencies]
1313
python = "^3.8"

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[tox]
2-
env_list = py{38,39,310,311}
2+
env_list = py{38,39,310,311}, lint
33

44
[testenv]
55
skip_install = true
66
allowlist_externals = poetry
77
commands_pre =
88
poetry install
99
commands =
10-
poetry run pytest tests --cov typeclasses
10+
poetry run pytest tests --cov src --doctest-modules src
1111

1212
[testenv:lint]
1313
commands =
14-
poetry run mypy typeclasses tests
15-
poetry run pylint typeclasses tests
16-
poetry run pydocstyle typeclasses tests
17-
poetry run yapf --recursive typeclasses tests --diff
14+
poetry run mypy src tests
15+
poetry run pylint src tests
16+
poetry run pydocstyle src tests
17+
poetry run yapf --recursive src tests --diff

0 commit comments

Comments
 (0)