Ryan Yang
ab3c02342b
Implement copyright notice detection ( #4701 )
...
## Summary
Add copyright notice detection to enforce the presence of copyright
headers in Python files.
Configurable settings include: the relevant regular expression, the
author name, and the minimum file size, similar to
[flake8-copyright](https://github.com/savoirfairelinux/flake8-copyright ).
Closes https://github.com/charliermarsh/ruff/issues/3579
---------
Signed-off-by: ryan <ryang@waabi.ai>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-06-11 02:17:58 +00:00
Jonathan Plasse
edadd7814f
Add pyflakes.extend-generics
setting ( #4677 )
2023-06-01 22:19:37 +00:00
Jonathan Plasse
4233f6ec91
Update to the new rule architecture ( #4589 )
2023-05-24 11:30:40 -04:00
Jonathan Plasse
c6a760e298
Introduce tab-size
to correcly calculate the line length with tabulations ( #4167 )
2023-05-24 08:37:24 +02:00
Aaron Cunningham
41a681531d
Support new extend-per-file-ignores
setting ( #4265 )
2023-05-19 12:24:04 -04:00
Charlie Marsh
15cb21a6f4
Implement --extend-fixable
option ( #4297 )
2023-05-18 22:20:19 -04:00
Charlie Marsh
a69451ff46
[pyupgrade
] Remove keep-runtime-typing
setting ( #4427 )
2023-05-14 03:12:52 +00:00
Micha Reiser
8969ad5879
Always generate fixes ( #4239 )
2023-05-10 07:06:14 +00:00
Charlie Marsh
a435c0df4b
Remove deprecated update-check
setting ( #4313 )
2023-05-09 13:10:02 -04:00
Zanie Adkins
0801f14046
Refactor Fix
and Edit
API ( #4198 )
2023-05-08 11:57:03 +02:00
Micha Reiser
cab65b25da
Replace row/column based Location
with byte-offsets. ( #3931 )
2023-04-26 18:11:02 +00:00
Charlie Marsh
b999e4b1e2
Allow users to extend the set of included files via include
( #3914 )
2023-04-11 23:39:43 -04:00
Micha Reiser
9209e57c5a
Extract message emitters from Printer ( #3895 )
2023-04-11 07:24:25 +00:00
Chris Chan
10504eb9ed
Generate ImportMap
from module path to imported dependencies ( #3243 )
2023-04-04 03:31:37 +00:00
Leiser Fernández Gallo
224e85c6d7
Implement flake8-gettext
( #3785 )
2023-03-28 23:32:02 +00:00
Micha Reiser
f68c26a506
perf(pycodestyle): Initialize Stylist from tokens ( #3757 )
2023-03-28 11:53:35 +02:00
Charlie Marsh
c3917eab38
Revert "Implement flake8-i18n
( #3741 )" ( #3765 )
2023-03-27 21:14:38 +00:00
Leiser Fernández Gallo
5cb120327c
Implement flake8-i18n
( #3741 )
2023-03-27 18:03:39 +00:00
Charlie Marsh
e603382cf0
Allow diagnostics to generate multi-edit fixes ( #3709 )
2023-03-26 16:45:19 -04:00
Micha Reiser
bd05a8a74d
fix: WASM tests ( #3415 )
2023-03-09 11:27:59 +01:00
Micha Reiser
229f1c34cb
refactor: Extract ruff_wasm
( #3401 )
2023-03-09 10:07:39 +00:00