Skip to content

Commit

Permalink
BLD: exclude tests, docs and dev-only configuration files from publis…
Browse files Browse the repository at this point in the history
…hed artifacts
  • Loading branch information
neutrinoceros committed Nov 19, 2024
1 parent 8af9783 commit 04effb2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ __pycache__
.python-version
.ipynb_checkpoints
.coverage
htmlcov

# temp files
*\#
Expand Down
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ nonos = "nonos.main:main"
[project.urls]
Homepage = "https://github.com/volodia99/nonos"

[tool.hatch.build.targets.sdist]
exclude = [
"tests",
".github",
"docs",
"mkdocs.yml",
"_typos.toml",
".readthedocs.yaml",
".pre-commit-config.yaml",
".gitignore",
]

[tool.ruff.lint]
exclude = [
"*__init__.py",
Expand Down

0 comments on commit 04effb2

Please sign in to comment.