-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Summary
in the physical sciences, certain variables have widely used notations that conflict with Python's snake case convention. e.g.
# kT: initial temperature in metal units (K)
kT = 80 * Units.temperature # noqa: N816would be great if you could whitelist certain non-snake case variables in pyproject.toml
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN002", # Checks that *args arguments have type annotations.
"ANN003", # Checks that **kwargs arguments have type annotations.
# ...
]
pydocstyle.convention = "google"
isort.split-on-trailing-comma = false
mixed-case-variable-in-global-scope-whitelist = ["kT"] # new config option proposalReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation