Commit 71a27c4
authored
ruff settings: select → extend-select (#1320)
* ruff settings: select → extend-select
Instead of explicitly selecting `E` and `F` rules, use ruff default rules,
which include `F` rules and `E` rules compatible with formatters:
https://docs.astral.sh/ruff/settings/#lint_extend-select
According to the Scientific Python Library Development Guide, `W` rules
are not needed when using a formatter:
https://learn.scientific-python.org/development/guides/style/#ruff
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
* Enforce `UP` ruff rules
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
---------
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>1 parent 41af76a commit 71a27c4
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
0 commit comments