Skip to content

Commit 9295690

Browse files
authored
Merge pull request #246 from pytest-dev/move-to-src-layout
Move to `/src` layout
2 parents 8ccbda4 + a9e8c70 commit 9295690

File tree

10 files changed

+4
-9
lines changed

10 files changed

+4
-9
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Ignore errors for older pythons
9292
continue-on-error: ${{ matrix.ignore-typecheck-outcome }}
9393
run: |
94-
poetry run mypy pytest_factoryboy
94+
poetry run mypy src/pytest_factoryboy
9595
- name: Test with tox
9696
continue-on-error: ${{ matrix.ignore-test-outcome }}
9797
run: |

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,3 @@ nosetests.xml
4848

4949
#PyCharm
5050
/.idea
51-
52-
# virtualenv
53-
/.Python
54-
/lib
55-
/include
56-
/src
57-
/share
58-
/local

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ repository = "https://github.com/pytest-dev/pytest-factoryboy"
4141
[project.entry-points."pytest11"]
4242
"pytest-factoryboy" = "pytest_factoryboy.plugin"
4343

44+
[tool.poetry]
45+
packages = [{include = "pytest_factoryboy", from = "src"}]
46+
4447
[tool.poetry.group.dev.dependencies]
4548
mypy = ">=1.4.1"
4649
tox = ">=4.0.8"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)