Skip to content

Add more ruff lint rules#328

Merged
cclauss merged 1 commit into
developfrom
more-ruff
Mar 11, 2025
Merged

Add more ruff lint rules#328
cclauss merged 1 commit into
developfrom
more-ruff

Conversation

@cclauss

@cclauss cclauss commented Mar 7, 2025

Copy link
Copy Markdown
Member
lint.select = [
  "A",     # flake8-builtins
  "AIR",   # Airflow
  "ASYNC", # flake8-async
  "B",     # flake8-bugbear
  "BLE",   # flake8-blind-except
  "C90",   # McCabe cyclomatic complexity
  "DJ",    # flake8-django
  "DTZ",   # flake8-datetimez
  "E",     # pycodestyle
  "EM",    # flake8-errmsg
  "EXE",   # flake8-executable
  "F",     # Pyflakes
  "FA",    # flake8-future-annotations
  "FAST",  # FastAPI
  "FBT",   # flake8-boolean-trap
  "FIX",   # flake8-fixme
  "FLY",   # flynt
  "FURB",  # refurb
  "G",     # flake8-logging-format
  "I",     # isort
  "ICN",   # flake8-import-conventions
  "INP",   # flake8-no-pep420
  "INT",   # flake8-gettext
  "ISC",   # flake8-implicit-str-concat
  "LOG",   # flake8-logging
  "NPY",   # NumPy-specific rules
  "PD",    # pandas-vet
  "PERF",  # Perflint
  "PGH",   # pygrep-hooks
  "PIE",   # flake8-pie
  "PLC",   # Pylint conventions
  "PLE",   # Pylint errors
  "PYI",   # flake8-pyi
  "RET",   # flake8-return
  "RSE",   # flake8-raise
  "SLOT",  # flake8-slots
  "T10",   # flake8-debugger
  "TC",    # flake8-type-checking
  "TID",   # flake8-tidy-imports
  "TRY",   # tryceratops
  "W",     # pycodestyle
  "YTT",   # flake8-2020
]

Comment thread cpplint_unittest.py Outdated
Comment thread cpplint_unittest.py Outdated
@cclauss

cclauss commented Mar 11, 2025

Copy link
Copy Markdown
Member Author

Reviews please.

@cclauss cclauss merged commit 03d56ce into develop Mar 11, 2025
@cclauss cclauss deleted the more-ruff branch March 11, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants