-
Notifications
You must be signed in to change notification settings - Fork 874
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 fixable ruff
rules
#4015
Merged
Merged
Fix fixable ruff
rules
#4015
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
317ebd9
fix RUF017
DanielYang59 dbb52e6
fix B018: useless expressions
DanielYang59 7d03f14
NEED confirm: fix TRY004 type error
DanielYang59 53f89f0
fix PGH003: bare # type: ignore
DanielYang59 be99826
fix FBT003 boolean-positional-value-in-call
DanielYang59 79c0c87
fix PYI024 collections-named-tuple
DanielYang59 9fd02e0
relocate io.aims test file and rename test dir
DanielYang59 ee394be
NEED CONFIRM: relocate io.aims test helper functions
DanielYang59 381571e
add __init__.py
DanielYang59 f1bba42
try to fix helper function path
DanielYang59 8057ff6
pre-commit auto-fixes
pre-commit-ci[bot] e0af132
clean up pyproject.toml
DanielYang59 27550eb
relocate type check import
DanielYang59 cf24f12
use relative import, TODO how to use abs import in this case?
DanielYang59 101c558
fix NPY201
DanielYang59 735cb62
turn of paradox box of S101
DanielYang59 2751e64
Revert "turn of paradox box of S101"
DanielYang59 b466559
tweak type and docstring
DanielYang59 7b5cc69
fix PD011, got a lot false pos in cp2k keywords
DanielYang59 9cfd546
ignore PD011 as too many false pos https://github.com/astral-sh/ruff/…
DanielYang59 993b92c
one missing pd011
DanielYang59 6da15fa
fix usage of pytest raise message PT011
DanielYang59 b2685a5
fix B009 get attribute
DanielYang59 09f7692
fix B018, attr test
DanielYang59 e5938f6
use np array to avoid RUF005 error
DanielYang59 01be529
fix RUF005 with np array
DanielYang59 6b42af3
fix typo in hasattr use
DanielYang59 ae52433
NEED CONFIRM: turn on SSL certificate check
DanielYang59 8fdd1c5
replace http with https, there're many other cases might need test an…
DanielYang59 6de9a21
Revert "replace http with https, there're many other cases might need…
DanielYang59 81b4f76
Move to another PR, Revert "NEED CONFIRM: turn on SSL certificate check"
DanielYang59 ef9a46c
rename _SpinMode to SpinModeTuple
DanielYang59 8f5f519
use list comprehension over function tool to flat list of lists
DanielYang59 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ValueError
changed toTypeError
, tests seem to pass.