FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-semver/.ruff.toml at master · python-semver/python-semver · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-semver
/
python-semver
Public
Notifications
You must be signed in to change notification settings
Fork
101
Star
523
Code
Issues
11
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-semver
/
.ruff.toml
Copy path
More file actions
More file actions
Latest commit
History
History
History
53 lines (45 loc) · 1.14 KB
Breadcrumbs
python-semver
/
.ruff.toml
Copy path
File metadata and controls
53 lines (45 loc) · 1.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
47
48
49
50
51
52
53
#
#
Configuration file for ruff
#
See https://docs.astral.sh/ruff/configuration/
line-length
=
88
indent-width
=
4
include
= [
"
pyproject.toml
"
,
"
src/**/*.py
"
,
"
tests/**/*.py
"
,
"
docs/**/*.py
"
,
]
[
lint
]
extend-ignore
= [
"
RUF005
"
,
"
RUF012
"
,
#
Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK):
"
RUF003
"
,
"
ISC001
"
,
]
select
= [
"
F
"
,
#
pyflakes
"
E
"
,
#
pycodestyle
"
I
"
,
#
isort
"
N
"
,
#
pep8-naming
"
UP
"
,
#
pyupgrade
"
RUF
"
,
#
ruff
"
B
"
,
#
flake8-bugbear
"
C4
"
,
#
flake8-comprehensions
"
ISC
"
,
#
flake8-implicit-str-concat
"
PTH
"
,
#
flake8-use-pathlib
"
SIM
"
,
#
flake8-simplify
"
TID
"
,
#
flake8-tidy-imports
]
#
TODO: Remove ISC001 ignore when formatter updated: https://github.com/astral-sh/ruff/issues/8272
[
format
]
#
Exclude type hint stub files from formatting.
exclude
= [
"
*.pyi
"
]
#
Like Black, use double quotes for strings.
quote-style
=
"
double
"
#
Like Black, indent with spaces, rather than tabs.
indent-style
=
"
space
"
#
Like Black, respect magic trailing commas.
skip-magic-trailing-comma
=
false
docstring-code-format
=
true
docstring-code-line-length
=
"
dynamic
"
Back
|
FazBrowse Home
|
New Git URL