Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken f-string in error output #95

Merged
merged 4 commits into from
Dec 9, 2024

Conversation

bbannier
Copy link
Member

@bbannier bbannier commented Dec 9, 2024

In addition to the fix for the error message I pilled on a number of cleanups I had sitting around. I can move these to a separate PR if needed.

The default formatting rules build into ruff seem to work well enough
for us, so we make no adjustments.
@bbannier bbannier self-assigned this Dec 9, 2024
@bbannier bbannier marked this pull request as ready for review December 9, 2024 12:20
@bbannier bbannier requested a review from awelzel December 9, 2024 12:20
pyproject.toml Outdated Show resolved Hide resolved
tests/test_dir_recursion.py Outdated Show resolved Hide resolved
zeekscript/script.py Outdated Show resolved Hide resolved
@bbannier bbannier force-pushed the topic/bbannier/fix-error-message branch from 9d1a5f0 to fed4496 Compare December 9, 2024 12:49
This patch switches to ruff from pylint. We migrate a few suppressions
from pylint's suppression format to the more general format used by
ruff. Additionally we fix a few issues, e.g., around import sorting and
globbing, shadowing, unnecessary import hacks for test imports and
general style.
@bbannier bbannier force-pushed the topic/bbannier/fix-error-message branch from fed4496 to c378bd0 Compare December 9, 2024 12:56
@bbannier bbannier merged commit becb994 into main Dec 9, 2024
7 checks passed
@bbannier bbannier deleted the topic/bbannier/fix-error-message branch December 9, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants