File: pyproject.toml

package info (click to toggle)
refine 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,080 kB
  • sloc: python: 1,152; xml: 27; makefile: 4
file content (57 lines) | stat: -rw-r--r-- 1,826 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
[refine]
requires-python = ">=3.12"

[tool.typos.files]
extend-exclude = ["po"]

[tool.mypy]
pretty = true
strict = true
disable_error_code = ["misc"]

[tool.ruff]
fix = true
show-fixes = true

[tool.ruff.lint]
ignore = [
  "D100",    # Missing docstring in public module
  "D104",    # Missing docstring in public package
  "ANN401",  # Dynamically typed expressions (typing.Any) are disallowed
  "FA",      # flake8-future-annotations
  "S603",    # `subprocess` call: check for execution of untrusted input
  "E501",    # Line too long
  "PLR0915", # Too many statements
  "C901",    # {func} is too complex
  "ERA001",  # Found commented-out code
  "FIX",     # flake8-fixme
  "TD",      # flake8-todos
  "BLE001",  # Do not catch blind exception: `Exception`
  "FBT003",  # Boolean positional value in function call
  "A",       # flake8-builtins
  "FBT",     # Boolean default positional argument in function definition
  "RUF",     # String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
  "COM812",  # The following rule may cause conflicts when used with the formatter: `COM812`.
  "D107",    # Missing docstring in `__init__`
  "D401",    # First line of docstring should be in imperative mood: "Callback for the app.about action."
  "INP",     # File `refine/widgets/action_row.py` is part of an implicit namespace package. Add an `__init__.py`.
  "D",       # Missing docstring in public method
  "PLW",     # `for` loop variable `word` overwritten by assignment target
  "EXE003",  # Shebang should contain `python`, `pytest`, or `uv run`
]

select = [
  "ALL",
]

[tool.ruff.lint.flake8-builtins]
strict-checking = true

[tool.ruff.lint.flake8-type-checking]
strict = true

[tool.ruff.lint.isort]
case-sensitive = true

[tool.ruff.lint.pydocstyle]
convention = "pep257"