Skip to content

Instantly share code, notes, and snippets.

@robmoore
Last active March 11, 2026 16:48
Show Gist options
  • Select an option

  • Save robmoore/0b6ffc020044f69dfb6b6509fc2fe6d4 to your computer and use it in GitHub Desktop.

Select an option

Save robmoore/0b6ffc020044f69dfb6b6509fc2fe6d4 to your computer and use it in GitHub Desktop.
...
[tool.ruff]
target-version = "py312"
line-length = 80
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ty]
target-version = "py312"
check-untyped-defs = true
[tool.ruff.lint]
select = [
"E", # pycodestyle (Error)
"W", # pycodestyle (Warning)
"F", # Pyflakes
"I", # isort (Import sorting)
"D", # pydocstyle
"N", # pep8-naming
"UP", # pyupgrade (Crucial for 3.12 features)
"PL", # Pylint (Google guide is based on Pylint)
]
ignore = [
"D100",
"D104",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment