Skip to content

Commit

Permalink
Follow pip-tools template usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobson committed Jan 11, 2024
1 parent 07fc911 commit 0e68844
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ packaging==23.2
# pytest
pip-tools==7.3.0
# via datahub (pyproject.toml)
platformdirs==4.1.0
platformdirs<=4.1.0
# via virtualenv
pluggy==1.3.0
# via pytest
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ build-backend = "setuptools.build_meta"
exclude = ["htmlcov"] # Exclude the coverage report file from setuptools package finder

[project]
name = "datahub"
name = "swmmanywhere"
version = "0.0.1"
authors = [
{ name = "Jane Doe", email = "jane_doe@some_email.com" },
{ name = "Barnaby Dobson", email = "[email protected]" },
{ name = "Imperial College London RSE Team", email = "[email protected]" }
]
requires-python = ">=3.10"
Expand Down Expand Up @@ -40,7 +40,7 @@ module = "tests.*"
disallow_untyped_defs = false

[tool.pytest.ini_options]
addopts = "-v --mypy -p no:warnings --cov=myproject --cov-report=html --doctest-modules --ignore=myproject/__main__.py"
addopts = "-v --mypy -p no:warnings --cov=swmmanywhere --cov-report=html --doctest-modules --ignore=swmmanywhere/__main__.py"

[tool.ruff]
select = ["D", "E", "F", "I"] # pydocstyle, pycodestyle, Pyflakes, isort
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_myproject.py → tests/test_swmmanywhere.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Tests for the main module."""
from myproject import __version__
from swmmanywhere import __version__


def test_version():
Expand Down

0 comments on commit 0e68844

Please sign in to comment.