Skip to content

Commit

Permalink
Updates to publish and pyproject.toml
Browse files Browse the repository at this point in the history
A previous update changed the installation deps for python publish.
This resulted in missing build dependencies.
Additionally, some old ruff rules have been removed.
  • Loading branch information
JacobCallahan committed Mar 19, 2024
1 parent 0d46943 commit df19b57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand All @@ -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
Expand Down

0 comments on commit df19b57

Please sign in to comment.