Skip to content

Commit

Permalink
add src folder to project structure
Browse files Browse the repository at this point in the history
- move bashi-validate to separate folder
  • Loading branch information
SimeonEhrig committed Jun 20, 2024
1 parent d15e7ff commit 235f8c1
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
pip install mypy
- name: Run mypy on bashi source code
run: |
mypy bashi
mypy src/bashi
- name: Run mypy on bashi-validate
run: |
mypy src/bashiValidate
- name: Run mypy on example
run: |
mypy example
Expand All @@ -56,7 +59,10 @@ jobs:
pip install pylint
- name: Run pylint on bashi source code
run: |
pylint bashi
pylint src/bashi
- name: Run pylint on bashi-validate
run: |
pylint src/bashiValidate
- name: Run pylint on example
run: |
pylint example/example.py
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
[project.scripts]
# creates a python script named bashi-validate
# in principal, the script does the following: from bashi.validate import main; main()
bashi-validate = "bashi.validate:main"
bashi-validate = "bashiValidate.validate:main"

[tool.setuptools.dynamic]
version = {file = "version.txt"}
Expand All @@ -44,7 +44,7 @@ Issues = "https://github.com/alpaka-group/bashi/issues"
[tool.coverage.run]
command_line = "-m unittest discover -s tests/"
branch = true
source = ["bashi"]
source = ["src/bashi"]

[tool.black]
line-length = 100
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 235f8c1

Please sign in to comment.