Skip to content

Commit df19b57

Browse files
committed
Updates to publish and pyproject.toml
A previous update changed the installation deps for python publish. This resulted in missing build dependencies. Additionally, some old ruff rules have been removed.
1 parent 0d46943 commit df19b57

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup and Build
2626
run: |
2727
pip install uv
28-
uv pip install --system "broker[dev,docker] @ ."
28+
uv pip install --system "broker[setup] @ ."
2929
python -m build
3030
python -m twine check dist/*
3131

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ select = [
133133
"T100", # Trace found: {name} used
134134
"T20", # flake8-print
135135
"TRY004", # Prefer TypeError exception for invalid type
136-
"TRY200", # Use raise from to specify exception cause
137136
"TRY302", # Remove exception handler; error is immediately re-raised
138137
"PLR0911", # Too many return statements ({returns} > {max_returns})
139138
"PLR0912", # Too many branches ({branches} > {max_branches})
@@ -146,7 +145,6 @@ select = [
146145

147146
ignore = [
148147
"ANN", # flake8-annotations
149-
"PGH001", # No builtin eval() allowed
150148
"D203", # 1 blank line required before class docstring
151149
"D213", # Multi-line docstring summary should start at the second line
152150
"D406", # Section name should end with a newline

0 commit comments

Comments
 (0)