Skip to content

Commit

Permalink
Move code into src/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k committed Aug 16, 2023
1 parent e7af133 commit 249aae7
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
python -m pip install -r requirements/dev.txt
- name: Check code format
run: |
python -m black --check --verbose --diff rohrpost tests
python -m black --check --verbose --diff src/rohrpost tests
- name: Check imports
run: |
python -m isort --check --diff .
- name: Check types
run: |
python -m mypy rohrpost
python -m mypy src/rohrpost
- name: Check code with flake8
run: |
python -m flake8
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include LICENSE
include rohrpost/py.typed
include src/rohrpost/py.typed
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ profile = "black"
disable = [
"missing-docstring",
]


[tool.pytest.ini_options]
pythonpath = ["src"]
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ include_package_data = True
zip_safe = False

[options.packages.find]
include =
rohrpost
rohrpost.*
where = src
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.
File renamed without changes.
File renamed without changes.

0 comments on commit 249aae7

Please sign in to comment.