Skip to content

Commit

Permalink
Return a dependency to the template project that was accidentally del…
Browse files Browse the repository at this point in the history
…eted.
  • Loading branch information
gbpoole committed Jul 4, 2024
1 parent 36618da commit 033ddd1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ ruff = "^0"
mypy = "^1"
pre-commit = "^3"

[tool.pytest.ini_options]
pythonpath = ["./tests", "./"] # relative to root directory
addopts = "--ignore={{cookiecutter.repo_name}}"

# This configures the Poetry plugin which enables dynamic versioning via the repo tags
# Note the changes that are also needed to the [build-system] config below.
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"

[tool.pytest.ini_options]
pythonpath = ["./tests", "./"] # relative to root directory
addopts = "--ignore={{cookiecutter.repo_name}}"

[tool.mypy]
ignore_missing_imports = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/tests"
Expand Down
16 changes: 9 additions & 7 deletions {{cookiecutter.repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,30 @@ myst-parser = "^1"
pytest = "^7"
pytest-mock = "^3"
pytest-cookies = "^0"
pytest-cov = "^5"
black = "^24"
ruff = "^0"
mypy = "^1"
pre-commit = "^3"

# This configures the Poetry plugin which enables dynamic versioning via the repo tags
# Note the changes that are also needed to the [build-system] config below.
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"

[tool.pytest.ini_options]
addopts = "--cov"
pythonpath = "./python" # relative to root directory

# Uncomment and edit the following line to add custom markers to your tests
# These can be run with the following (for example):
#
# $ pytest -m marker_name
#
#markers = [ "marker_name: A short description of the marker" ]

# This configures the Poetry plugin which enables dynamic versioning via the repo tags
# Note the changes that are also needed to the [build-system] config below.
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"

[tool.mypy]
ignore_missing_imports = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/python"
Expand Down

0 comments on commit 033ddd1

Please sign in to comment.