Skip to content

Commit 3d9297c

Browse files
authored
chore: fix linting (#287)
* chore: black styling * ignore ruff checks on conf.py * ignore ruff checks on conf.py
1 parent cd1aab3 commit 3d9297c

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

docs/source/_static/css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@
5151
.sd-container-fluid .sd-row {
5252
flex-direction: column;
5353
}
54-
54+
5555
.sd-col {
5656
flex: 0 0 100% !important;
5757
max-width: 100% !important;
5858
width: 100% !important;
5959
}
60-
60+
6161
.sd-card {
6262
margin-bottom: 1rem;
6363
width: 100% !important;
@@ -71,11 +71,11 @@
7171
text-overflow: ellipsis;
7272
max-width: 120px;
7373
}
74-
74+
7575
.navbar-nav {
7676
font-size: 0.85rem;
7777
}
78-
78+
7979
.navbar-nav .nav-link {
8080
padding-left: 0.5rem;
8181
padding-right: 0.5rem;

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,8 @@
6969
# Intersphinx mapping for external documentation
7070
intersphinx_mapping = {
7171
"python": ("https://docs.python.org/3", None),
72-
"django": ("https://docs.djangoproject.com/en/stable/", "https://docs.djangoproject.com/en/stable/_objects/"),
72+
"django": (
73+
"https://docs.djangoproject.com/en/stable/",
74+
"https://docs.djangoproject.com/en/stable/_objects/",
75+
),
7376
}

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ extend-ignore = [
5252
"E731",
5353
]
5454

55+
[tool.ruff.per-file-ignores]
56+
"docs/source/conf.py" = ["A001", "INP001", "I001"]
57+
5558
[tool.ruff.isort]
5659
lines-after-imports = 2

0 commit comments

Comments
 (0)