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

Added -A, -B and -C flags for context in messages #22

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

faculerena
Copy link
Collaborator

Similar to grep

@faculerena faculerena linked an issue Jul 18, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jul 18, 2024

...

Ran 3 tests in 44.693s

OK
Detector count is OK
All detectors tests passed
Running 1000 times in unused_arguments test case. Took: 42.993783s

@faculerena faculerena merged commit a78cf81 into main Jul 18, 2024
1 check passed
help="Print A lines of trailing context after findings.")
lint_parser.add_argument("-B", nargs="+", type=int,
help="Print B lines of leading context before findings.")
lint_parser.add_argument("-C", nargs="+", type=int,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides, -A and -B, that -C option is really cool. Nice!

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.

Expressions spanning multiple lines lack context
2 participants