Adding support for ruff formatter (#4645)

This commit is contained in:
Joseph Henrich authored and GitHub committed 2023-11-16 12:12:40 +00:00
1 parent 50e237facd
commit 5cddc4c8e1
7 files changed
+230

No files matched your search

+5
View File
@@ -611,6 +611,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['python'],
\ 'description': 'Fix python files with ruff.',
\ },
\ 'ruff_format': {
\ 'function': 'ale#fixers#ruff_format#Fix',
\ 'suggested_filetypes': ['python'],
\ 'description': 'Fix python files with the ruff formatter.',
\ },
\ 'pycln': {
\ 'function': 'ale#fixers#pycln#Fix',
\ 'suggested_filetypes': ['python'],