Packaging updates

This commit is contained in:
Paul Warren 2024-11-05 15:20:43 +11:00
parent a46015c186
commit 34a00a2ba3
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ def lint(session):
@nox.session @nox.session
def build_and_check_dists(session): def build_and_check_dists(session):
session.install("build", "check-manifest >= 0.42", "twine") session.install("build", "check-manifest >= 0.42", "twine")
# session.run("check-manifest", "--ignore", "noxfile.py,tests/**,examples/**") session.run("check-manifest", "--ignore", "noxfile.py,tests/**,examples/**")
session.run("python", "-m", "build") session.run("python", "-m", "build")
session.run("python", "-m", "twine", "check", "dist/*") session.run("python", "-m", "twine", "check", "dist/*")

View file

@ -40,4 +40,4 @@ line-length = 99
extend-select = ["E501", "T20", "E", "PL"] extend-select = ["E501", "T20", "E", "PL"]
[tool.ruff.lint.extend-per-file-ignores] [tool.ruff.lint.extend-per-file-ignores]
"*register*.py" = ["E501"] "*register_map*.py" = ["E501"]