Skip to content

Commit

Permalink
Merge pull request #9 from alexdewar/tweaks
Browse files Browse the repository at this point in the history
Tweaks
  • Loading branch information
alexdewar authored May 29, 2024
2 parents 18f55f4 + ff5de21 commit 119caf3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pip-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Install project dependencies
working-directory: my_project
run: pip install -r dev-requirements.txt
run: pip install .[dev]

- name: Run tests
working-directory: my_project
Expand Down
1 change: 1 addition & 0 deletions {{ cookiecutter.project_slug }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pytest-cov = "^5.0.0"
pytest-mypy = "^0.10.0"
pytest-mock = "^3.7.0"
pre-commit = "^3.0.4"
ruff = "^0.4.4"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""The main module for {{ cookiecutter.project_name }}."""

__version__ = "0.1.0"
from importlib.metadata import version

__version__ = version(__name__)

0 comments on commit 119caf3

Please sign in to comment.