-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
47 lines (43 loc) · 1.31 KB
/
pyproject.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
36
37
38
39
40
41
42
43
44
45
46
47
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
"build",
"dist",
]
line-length = 88
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
#"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"G", # flake8-logging-format
#"I", # isort
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
#"N", # pep8-naming
#"NPY", # modern numpy
#"PERF", # Perflint
"PIE", # flake8-pie
"PYI", # flake8-pyi
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"SLOT", # flake8-slot
"T10", # flake8-debugger
#"TID", # Disallow relative imports
#"TRY", # flake8-try-except-raise
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
[tool.ruff.lint.per-file-ignores]
"**" = ["B905", "C401", "C408", "C413", "RUF012", "RUF100", "RUF010", "SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103", "UP015", "UP027", "UP031", "UP034", "UP032", "UP006", "UP035", "UP007", "UP038"]
"**/plot*.py" = ["B018"]
"_doc/examples/**.py" = ["E402", "F811", "B018"]
"_unittests/ut_df/test_dataframe_io_helpers.py" = ["E501"]
"pandas_streaming/data/__init__.py" = ["F401"]
"pandas_streaming/df/__init__.py" = ["F401"]
"pandas_streaming/df/dataframe_io_helpers.py" = ["E501"]