forked from okta/okta-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ruff.toml
More file actions
47 lines (39 loc) · 1.04 KB
/
.ruff.toml
File metadata and controls
47 lines (39 loc) · 1.04 KB
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
# Exclude a variety of commonly ignored directories.
exclude = [
".bacon",
".git",
".github",
".git-rewrite",
".ipynb_checkpoints",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
".idea",
"__pypackages__",
"_build",
"build",
"dist",
"venv",
]
line-length = 119
indent-width = 4
[lint]
preview = true
select = ["F", # Pyflakes
"E", # pycodestyle
"I", # isort
"RUF"] # Ruff-specific rules
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[format]
line-ending = "auto" # Automatically detect the appropriate line ending.
quote-style = "double" # Use double quotes for strings.
indent-style = "space" # Indent with spaces, rather than tabs.
skip-magic-trailing-comma = false # Respect magic trailing commas.
# Enable auto-formatting of code examples in docstrings. Markdown,
# reStructuredText code/literal blocks and doctests are all supported.
docstring-code-format = true