You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Account for the possibility of different top level domains between
private stuff and public-facing stuff like email addresses.
Put a 3-second timeout on the certificates request, just in case.
Bump the Ruff version to pick up
astral-sh/ruff#9734 and update some other
tooling. Also prepare for running more linters with Ruff and replacing
`black` with [The Ruff
Formatter](https://docs.astral.sh/ruff/formatter/).
Copy file name to clipboardExpand all lines: pyproject.toml
+12
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,24 @@ line-length = 100
27
27
skip-magic-trailing-comma = true
28
28
skip-string-normalization = true
29
29
30
+
[tool.ruff.format]
31
+
quote-style = 'single'
32
+
skip-magic-trailing-comma = true
33
+
34
+
[tool.ruff.lint.flake8-quotes]
35
+
inline-quotes = 'single'
36
+
30
37
[tool.django-stubs]
31
38
django_settings_module = 'demodj.settings'
32
39
33
40
[tool.ruff]
34
41
line-length = 100
35
42
43
+
[tool.ruff.lint]
44
+
ignore = [
45
+
'EM101', # Allow exceptions to use string literals because keeping code as simple as possible is more important than keeping tracebacks as simple as possible.
0 commit comments