Commit Graph

4 Commits

Author SHA1 Message Date
Divyansh Singh f0a5a36275
ci: Add ruff including print checks
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.
2023-05-01 10:25:14 +02:00
Manu a4ab7e713a
Specify build system (minor) (#1580) 2023-02-04 17:23:34 +00:00
real-yfprojects 63b2eb1089 Configure pre-commit hooks and configure black for tests also.
These include flake8 linting, black and isort formatting
as well as some general hooks with minor checks.

* .pre-commit-config.yaml

* pyproject.toml : Run black on test files also.
2022-08-16 18:20:34 +02:00
Manu 7c97f79b31 Add config files for autmatic formatting 2022-08-15 15:23:55 +02:00