Content-Length: 281199 | pFad | http://github.com/numpy/numpy/pull/27309/commits/c35cb34f07edc38aecfb91e32eb93e29af970eb8

D0 MNT: Enforce ruff/Pyflakes rules (F) by DimitriPapadopoulos · Pull Request #27309 · numpy/numpy · GitHub
Skip to content

MNT: Enforce ruff/Pyflakes rules (F) #27309

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 7 commits into from
May 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MNT: Enforce ruff/Pyflakes rules (F)
  • Loading branch information
DimitriPapadopoulos committed May 12, 2025
commit c35cb34f07edc38aecfb91e32eb93e29af970eb8
5 changes: 4 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ extend-select = [
"UP",
]
ignore = [
"F", # TODO: enable Pyflakes rules
"C408", # Unnecessary `dict()` call (rewrite as a literal)
"PIE790", # Unnecessary `pass` statement
"E241", # Multiple spaces after comma
Expand All @@ -44,6 +43,10 @@ ignore = [
"E721", # TODO: Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance check
"E731", # Do not assign a `lambda` expression, use a `def`
"E741", # Ambiguous variable name
"F403", # `from ... import *` used; unable to detect undefined names
"F405", # may be undefined, or defined from star imports
"F821", # Undefined name
"F841", # Local variable is assigned to but never used
"UP015", # Unnecessary mode argument
"UP031", # TODO: Use format specifiers instead of percent format
]
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/numpy/numpy/pull/27309/commits/c35cb34f07edc38aecfb91e32eb93e29af970eb8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy