-
Notifications
You must be signed in to change notification settings - Fork 2
Stage improved testing #351
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
0dbfbc8
[DEBUG] Part 1 of 2 (- WIP #264 -)
reactive-firewall 593bf91
[FEATURE] Part 2 of 2 implementing initial prototype buffer ENV valid…
reactive-firewall 4765e03
[PATCH] Applied changed found in review (- WIP PR #348 -)
reactive-firewall d29014e
[PATCH] Apply suggestions from code review (- WIP PR #348 -)
reactive-firewall 51ff443
[PATCH] Applied changes from review (- WIP PR #348 -)
reactive-firewall 13fbb31
[STYLE] Remind app.deepsource.io that module access is normal in python.
reactive-firewall 3e08296
[PATCH] Applied changes as discussed in review (- WIP #348 -)
reactive-firewall a5b4548
[STYLE] Oops, more corrections found in review (- WIP PR #348 -)
reactive-firewall 69d09f5
[SECURITY] Hardening for test context (- WIP #249 -)
reactive-firewall 5885d93
[SECURITY] More hardening for test context (- WIP PR #349 -)
reactive-firewall 034d846
[TESTING] Improved testing of HEAR handler slightly (- WIP #241 -)
reactive-firewall 393c0af
[MERGE]
reactive-firewall 9219f69
[UPDATE] Version Bump
reactive-firewall 51f6a0b
[UPDATE] (deps): Bump github/codeql-action in /.github/workflows
dependabot[bot] 60e9571
[UPDATE] (deps): Bump ossf/scorecard-action in /.github/workflows
dependabot[bot] 73bacf8
[FEATURE] Initial implementation of module logging for debugging (- W…
reactive-firewall f068db2
[FEATURE] More implementation of logging style output and related wor…
reactive-firewall a9777fe
[STYLE] Refactored to avoid PYL-C0201 (- WIP #233 -)
reactive-firewall f2878d0
[STYLE] Refactored to use lazy formatting to avoid PYL-W1203
reactive-firewall e333f56
[STYLE] More work related to refactoring to use lazy formatting to av…
reactive-firewall 56468ce
[DOCUMENTATION] Added initial docstring and corrected method def as f…
reactive-firewall 979d5fb
[DOCUMENTATION] Applied improvements found in review (- WIP PR #354 -)
reactive-firewall fd193f5
[HOTFIX] Fix for regression found in review (- WIP PR #354 -)
reactive-firewall b3a633a
[PATCH] Apply suggestions from code review (- WIP #354 -)
reactive-firewall 9e75b77
[PATCH] Apply fixes as found in review (- WIP PR #354 -)
reactive-firewall 475dda4
### ChangeLog:
coderabbitai[bot] b2840c2
[TESTING] Fixing up the implementation for new extra tests (- WIP PR …
reactive-firewall 498ebba
[MERGE] pull request #359 from reactive-firewall/coderabbitai/chat/fd…
reactive-firewall 8d59455
[MERGE]
reactive-firewall e906154
[PATCH] Apply changes as found in review (- WIP PR #351 -)
reactive-firewall dd72004
[PATCH] Apply suggestions from code review (- WIP PR #351 -)
reactive-firewall c320b80
[DEBUG] rerere fix, multicast/__init__.py as found in review (- WIP #…
reactive-firewall a2a61f4
[PATCH] Apply finishing touches as found in review (- WIP PR #351 -)
reactive-firewall 2955ccc
[VERSION] Release candidate for 2.0 series
reactive-firewall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# .ast-grep/python-rule-add-trailing-comma.yml | ||
id: python-rule-add-trailing-comma | ||
rule: | ||
all: | ||
- matches: python-rule-argument-last-without-comma | ||
- not: | ||
pattern: | ||
$LAST_ARG, | ||
language: python | ||
message: "Consider adding a trailing comma." | ||
description: Rule for improving future maintainability by pre-emptivly adding trailing commas. | ||
severity: hint | ||
fix: | ||
$LAST_ARG, | ||
examples: | ||
- name: Argument list with missing trailing comma | ||
code: | | ||
# trivial example should match | ||
warnings.warn( | ||
"This should match. because there is no trailing comma.", | ||
stacklevel=2 | ||
) | ||
- name: Resulting argument list with trailing comma | ||
code: | | ||
# trivial example should no-longer match | ||
warnings.warn( | ||
"This should match. because there is no trailing comma.", | ||
stacklevel=2, | ||
) | ||
reactive-firewall marked this conversation as resolved.
Show resolved
Hide resolved
|
30 changes: 30 additions & 0 deletions
30
.ast-grep/utils/python/structure/argument-last-without-comma.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# .ast-grep/utils/python/structure/argument-last-without-comma.yml | ||
# Argument Structure utils | ||
id: python-rule-argument-last-without-comma | ||
rule: | ||
any: | ||
- kind: identifier | ||
- kind: integer | ||
- kind: float | ||
- kind: string | ||
- kind: keyword_argument | ||
matches: python-rule-keyword-argument-inside-list-with-comma | ||
nthChild: | ||
position: 1 | ||
reverse: true | ||
inside: | ||
all: | ||
- kind: argument_list | ||
matches: python-rule-argument-list-with-comma | ||
precedes: | ||
pattern: ) | ||
pattern: | ||
$LAST_ARG | ||
all: | ||
- not: | ||
pattern: | ||
$LAST_ARG, | ||
- not: | ||
pattern: | ||
$$$, $LAST_ARG) | ||
language: python |
13 changes: 13 additions & 0 deletions
13
.ast-grep/utils/python/structure/argument-list-with-comma.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# .ast-grep/utils/python/structure/argument-list-with-comma.yml | ||
# Argument Structure utils | ||
id: python-rule-argument-list-with-comma | ||
rule: | ||
kind: argument_list | ||
pattern: | | ||
$_FULL_ARG_LIST | ||
has: | ||
all: | ||
- regex: "[,]" | ||
- regex: "\ | ||
" | ||
language: python |
17 changes: 17 additions & 0 deletions
17
.ast-grep/utils/python/structure/keyword-argument-inside-list-with-comma.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# .ast-grep/utils/python/structure/keyword-argument-inside-list-with-comma.yml | ||
# Argument Structure utils | ||
id: python-rule-keyword-argument-inside-list-with-comma | ||
rule: | ||
kind: keyword_argument | ||
inside: | ||
all: | ||
- kind: argument_list | ||
matches: python-rule-argument-list-with-comma | ||
- regex: | | ||
[^(]*[^,] | ||
nthChild: | ||
position: 1 | ||
reverse: true | ||
pattern: | ||
$_KW_ARG | ||
language: python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.