mirror of
https://github.com/borgbase/vorta
synced 2024-12-21 23:33:13 +00:00
f0a5a36275
Adds ruff replacing isort. Ruff comes with all flake8 rules and additional rules for print statements. * .github/workflows/test.yml : Replace isort with ruff in comment * .editorconfig : Update `yml` config to apply to all yaml files. * Makefile (lint): Run ruff, remove isort * .pre-commit-config.yaml : Remove isort, run ruff * pyproject.toml : Configure ruff. Remove isort config. * requirements.d/dev.txt : Add ruff, remove isort * setup.cfg : Extend flake8 file ignore * src/vorta/__main__.py : Add *noqa* for print statement.
17 lines
238 B
INI
17 lines
238 B
INI
# http://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 4
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[**.{yml,yaml}]
|
|
indent_size = 2
|