File tree Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,19 @@ gcalcli = "gcalcli.cli:main"
56
56
[tool .distutils .bdist_wheel ]
57
57
universal = true
58
58
59
- [tool .isort ]
60
- profile = " google"
61
- force_single_line = false
62
- float_to_top = true
63
- combine_star = true
64
- py_version = 3
59
+ [tool .ruff ]
60
+ line-length = 80
61
+
62
+ [tool .ruff .lint ]
63
+ # Enable Errors, Warnings, Flakes
64
+ select = [" E" , " W" , " F" ]
65
+
66
+ [tool .ruff .format ]
67
+ # Permit mixed quote style, project currently uses a mix of both.
68
+ quote-style = " preserve"
69
+
70
+ [tool .ruff .lint .extend-per-file-ignores ]
71
+ "*.pyi" = [" E501" ]
65
72
66
73
[tool .mypy ]
67
74
mypy_path = " gcalcli:stubs:tests"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ commands=py.test -vv --cov=./gcalcli --pyargs tests {posargs}
16
16
[testenv:lint]
17
17
description = run linters
18
18
skip_install = true
19
- deps = flake8
20
- commands = flake8
19
+ deps = ruff
20
+ commands = ruff check
21
21
22
22
[testenv:type]
23
23
description = run type checks
You can’t perform that action at this time.
0 commit comments