-
Notifications
You must be signed in to change notification settings - Fork 710
Remove dead code and prevent regressions #4425
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
2 commits
Select commit
Hold shift + click to select a range
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,15 @@ | ||
| _.configured # unused attribute (src/ansiblelint/__main__.py:140) | ||
| configured # unused variable (src/ansiblelint/config.py:132) | ||
| _.keep_trailing_newline # unused attribute (src/ansiblelint/rules/jinja.py:280) | ||
| _.lstrip_blocks # unused attribute (src/ansiblelint/rules/jinja.py:282) | ||
| _.trim_blocks # unused attribute (src/ansiblelint/rules/jinja.py:283) | ||
| _.autoescape # unused attribute (src/ansiblelint/rules/jinja.py:284) | ||
| _.newline_sequence # unused attribute (src/ansiblelint/rules/jinja.py:285) | ||
| _.allow_duplicate_keys # unused attribute (src/ansiblelint/skip_utils.py:138) | ||
| _.playbook_paths # unused attribute (src/ansiblelint/utils.py:257) | ||
| _.explicit_end # unused attribute (src/ansiblelint/yaml_utils.py:915) | ||
| _.default_flow_style # unused attribute (src/ansiblelint/yaml_utils.py:923) | ||
| _.compact_seq_seq # unused attribute (src/ansiblelint/yaml_utils.py:924) | ||
| _.compact_seq_map # unused attribute (src/ansiblelint/yaml_utils.py:925) | ||
| _.Constructor # unused attribute (src/ansiblelint/yaml_utils.py:946) | ||
| _.preserve_quotes # unused attribute (src/ansiblelint/yaml_utils.py:956) |
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 |
|---|---|---|
|
|
@@ -77,3 +77,4 @@ src/ansiblelint/_version.py | |
| test/eco | ||
| test/local-content | ||
| test/schemas/node_modules | ||
| node_modules | ||
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,5 @@ | ||
| { | ||
| "devDependencies": { | ||
| "prettier": "^3.3.3" | ||
| } | ||
| } |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| """Used only by vulture to determine reachable code.""" | ||
|
|
||
| # ExampleComRule | ||
| from ansiblelint.rules.args import ArgsRule | ||
| from ansiblelint.rules.deprecated_local_action import TaskNoLocalActionRule | ||
| from ansiblelint.rules.key_order import KeyOrderRule | ||
| from ansiblelint.rules.latest import LatestRule | ||
| from ansiblelint.rules.literal_compare import ComparisonToLiteralBoolRule | ||
| from ansiblelint.rules.meta_incorrect import MetaChangeFromDefaultRule | ||
| from ansiblelint.rules.meta_video_links import MetaVideoLinksRule | ||
| from ansiblelint.rules.no_handler import UseHandlerRatherThanWhenChangedRule | ||
| from ansiblelint.rules.no_relative_paths import RoleRelativePath | ||
| from ansiblelint.rules.risky_file_permissions import MissingFilePermissionsRule | ||
| from ansiblelint.rules.syntax_check import AnsibleSyntaxCheckRule | ||
| from test.custom_rules.example_com.example_com_rule import ExampleComRule | ||
| from test.custom_rules.example_inc.custom_rule import CustomRule | ||
| from test.rules.fixtures.unset_variable_matcher import UnsetVariableMatcherRule | ||
|
|
||
| __all__ = [ | ||
| "AnsibleSyntaxCheckRule", | ||
| "ArgsRule", | ||
| "ComparisonToLiteralBoolRule", | ||
| "CustomRule", | ||
| "ExampleComRule", | ||
| "KeyOrderRule", | ||
| "LatestRule", | ||
| "MetaChangeFromDefaultRule", | ||
| "MetaVideoLinksRule", | ||
| "MissingFilePermissionsRule", | ||
| "RoleRelativePath", | ||
| "TaskNoLocalActionRule", | ||
| "UnsetVariableMatcherRule", | ||
| "UseHandlerRatherThanWhenChangedRule", | ||
| ] |
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.