Skip to content

Commit

Permalink
Merge pull request #15 from lengau/auto-find
Browse files Browse the repository at this point in the history
chore(tools): Make pyproject.toml exclude rather than statically include
  • Loading branch information
lengau authored Jan 26, 2023
2 parents 08a1e8d + f2f804d commit 283c21e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@ requires = [
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["starcraft"]
[tool.setuptools.packages.find]
exclude = [
"dist",
"docs",
"results",
"tests",
]

[tool.black]
target-version = ["py38"]

[tool.codespell]
ignore-words-list = "buildd,crate,keyserver,comandos,ro,dedent,dedented"
skip = ".tox,.git,build,.*_cache,__pycache__,*.tar,*.snap,*.png,node_modules"
skip = ".tox,.git,build,.*_cache,__pycache__,*.tar,*.snap,*.png,./node_modules,./docs/_build"
quiet-level = 3
check-filenames = true

Expand Down Expand Up @@ -83,9 +88,10 @@ venv = "py38"

[tool.mypy]
python_version = "3.8"
packages = ["starcraft"]
exclude = [
"build"
"build",
"tests",
"results",
]
warn_unused_configs = true
warn_redundant_casts = true
Expand Down

0 comments on commit 283c21e

Please sign in to comment.