generated from GrafeasGroup/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ruff.toml
35 lines (32 loc) · 902 Bytes
/
.ruff.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
select = [
"E", # pycodestyle (error)
"W", # pycodestyle (warning)
# TODO: Enable this again
#"D", # pydocstyle
"I", # isort
"ANN", # flake8-annotations
"DTZ", # flake8-datetimez
]
ignore = [
"ANN101", # missing-type-self
"ANN401", # any-type
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D105", # undocumented-magic-method
"D106", # undocumented-public-nested-class
"D203", # one-blank-line-before-class
"D213", # multi-line-summary-second-line
# Doesn't work well for Bubbles, because we use the doc commands also
# for help command output
"D400", # ends-in-period
]
exclude = [
"build",
"dist",
]
line-length = 100 # Same as black
[per-file-ignores]
"test_*" = [
"D", # Disable documentation lints for test files
"DTZ", # Disable timezone lints for test files
]