-
Notifications
You must be signed in to change notification settings - Fork 27
ruff fixes #196
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
ruff fixes #196
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
23bf98e
ruff fixes
DanielYang59 2a9ac7e
fix s101 use of assert
DanielYang59 3009cb4
globally ignore SLF001, access private class member
DanielYang59 aa69640
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 10829ce
add todo tag
DanielYang59 2d1ecbb
put docstring and global ignore on top
DanielYang59 f25d6b9
Merge branch 'ruff-pmv' of github.com:janosh/pymatviz into ruff-pmv
DanielYang59 920303a
fix py017, properly capture exception
DanielYang59 f6f3057
Fix PT011, exception capture without match
DanielYang59 31e8364
add TODO tag for https://github.com/janosh/pymatviz/pull/195#issuecom…
DanielYang59 49809a1
fix NPY201, np trapz
DanielYang59 337eb12
use warn over print to fix T201
DanielYang59 46b2400
add comments for globally ignored ruff rules
DanielYang59 90eb61a
guard type check only import when possible
DanielYang59 0ccfd1b
remove ISC001 from ignore
DanielYang59 c6b7245
add todo tag
DanielYang59 d5c91b8
reduce duration items shown to 20
DanielYang59 7de6327
import Self from typing extension
DanielYang59 35e37b2
remove global ignore of S311 as there're only 2 violation
DanielYang59 2d70feb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d9f152a
replace random with numpy, which also fixes S311
DanielYang59 d6475b8
fix "PT006", # pytest-parametrize-names-wrong-type
DanielYang59 476560b
guard type check only import
DanielYang59 5ab3390
fix "COM812", # trailing comma missing
DanielYang59 8bbbafd
remove no type check mark
DanielYang59 dc5fc56
Revert "fix "COM812", # trailing comma missing"
DanielYang59 3e95a83
fix unit test of io
DanielYang59 acef88d
NEED confirm: change width from 457 to 458
DanielYang59 10c56c4
clean up branch condition
DanielYang59 49cbdeb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6fa85a2
use native array size arg
DanielYang59 9c8cfa3
revert accidental elem -> element rename
DanielYang59 4e7904d
fix random array generation
DanielYang59 e10efa7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b747012
fix random array generate in asset maker
DanielYang59 93003af
revert test_io value to 457, reason unknown
DanielYang59 c12804a
skip eslint for now #197
DanielYang59 ec270ea
format pre-commit config
DanielYang59 50ba9c7
remove eslint skip mark in CI
DanielYang59 4f3826c
fix indentation in pyproject.toml
DanielYang59 566f6d3
drop quotes in test.yml string
DanielYang59 28d7f44
fix typo in filename
DanielYang59 882622e
fix shaded_ys type
DanielYang59 dfa5194
remove overwriting pytest duration
DanielYang59 e2f199d
pyproject whitespace
janosh 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
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
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.