Skip to content

Commit a9a03b8

Browse files
committed
stricter linting
1 parent 95a0ba3 commit a9a03b8

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

ruff.toml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ target-version = "py311"
66
## Exclude directories with Jinja template variables in their names
77
#exclude = ["**/[{][{]*/", "**/*[}][}]*/"]
88
#
9+
# Exclude individual files from Ruff linting/formatting
10+
exclude = [
11+
"tests/test_imports.py",
12+
]
13+
914
[lint]
1015
## Available rule sets in Ruff:
1116
## A: flake8-builtins - Check for python builtins being used as variables or parameters
@@ -66,22 +71,16 @@ select = ["F","I"]
6671
#convention = "google"
6772
#
6873
## Formatting configuration
69-
#[format]
74+
[format]
7075
## Use double quotes for strings
71-
#quote-style = "double"
76+
quote-style = "double"
7277
## Use spaces for indentation
73-
#indent-style = "space"
78+
indent-style = "space"
7479
## Automatically detect and use the appropriate line ending
75-
#line-ending = "auto"
80+
line-ending = "auto"
7681
#
7782
## File-specific rule exceptions
7883
#[lint.per-file-ignores]
7984
#"tests/**/*.py" = ["S101"] # Allow assert statements in tests
8085
#"book/marimo/*.py" = ["N803", "S101"] # Allow non-lowercase variable names (N803)
8186
# # and assert statements in marimo files
82-
83-
84-
# Exclude individual files from Ruff linting/formatting
85-
exclude = [
86-
"tests/test_imports.py",
87-
]

0 commit comments

Comments
 (0)