diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 85ed3059..53f86dcb 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -25,7 +25,7 @@ jobs: - name: Setup and Build run: | pip install uv - uv pip install --system "broker[dev,docker] @ ." + uv pip install --system "broker[setup] @ ." python -m build python -m twine check dist/* diff --git a/pyproject.toml b/pyproject.toml index 56bb1d53..dc755a23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,7 +133,6 @@ select = [ "T100", # Trace found: {name} used "T20", # flake8-print "TRY004", # Prefer TypeError exception for invalid type - "TRY200", # Use raise from to specify exception cause "TRY302", # Remove exception handler; error is immediately re-raised "PLR0911", # Too many return statements ({returns} > {max_returns}) "PLR0912", # Too many branches ({branches} > {max_branches}) @@ -146,7 +145,6 @@ select = [ ignore = [ "ANN", # flake8-annotations - "PGH001", # No builtin eval() allowed "D203", # 1 blank line required before class docstring "D213", # Multi-line docstring summary should start at the second line "D406", # Section name should end with a newline