Commit 4138d30
committed
Switch to ruff
because:
1. it's faster (i.e., energy and time usages)
2. it's more flexible (i.e., good for mental health)
3. flake8 with Flake8-pyproject per-file-ignores with a comment per line wouldn't work à la:
per-file-ignores = [
'**/__init__.py:F401', # imported but unused
# the following ignored rules allow for tabular data in the tests (mostly)
'tests/test_*.py:E203', # whitespace before ','
'tests/test_*.py:E202', # whitespace before ']'
'tests/test_*.py:E126', # continuation line over-indented for hanging indent
'tests/test_*.py:E121', # continuation line under-indented for hanging indent
'tests/test_*.py:E128', # continuation line under-indented for visual indent
'tests/test_*.py:E231', # missing whitespace after {',', ':'}
# gallery examples also divert from standard style
'docs/examples/*/*.py:E402', # module level import not at top of file
]1 parent e47deee commit 4138d30
5 files changed
Lines changed: 35 additions & 56 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 91 | + | |
| 92 | + | |
103 | 93 | | |
104 | 94 | | |
105 | 95 | | |
| 96 | + | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
110 | 101 | | |
111 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
| |||
This file was deleted.
0 commit comments