GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fog/ruff.toml at fog-client · babyycoded/fog

Expand file tree

/

ruff.toml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
40 lines (35 loc) · 1.24 KB
/

ruff.toml

Copy path

File metadata and controls

40 lines (35 loc) · 1.24 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
include = [
"datasrc/**.py",
"scripts/**.py",
]
exclude = [
"datasrc/network.py", # TODO: makes formatting worse
"datasrc/seven/**.py", # don't touch, mostly copied from 0.7
]
indent-width = 8
line-length = 320
target-version = "py39"
[format]
indent-style = "tab"
preview = true # allow complex single line arguments to start on the same line, like `fn({`
[lint]
extend-select = [
# tidy-alphabetical-start
"A", # detect shadowed builtins
"B006", # mutable default arguments
"BLE", # disallow catch-all exceptions
# tidy-alphabetical-end
]
ignore = [
# tidy-alphabetical-start
"C401", # unnecessary-generator-set: `sorted(set(…))` can be a useful idiom to deduplicate an iterator
"E741", # ambiguous-variable-name: prohibits `l` as variable name
"PIE808", # unnecessary-range-start: it's fine to give the start of a range explicitly
"SIM102", # collapsible-if: separate if statements can be more readable
"SIM115", # open-file-with-context-handler: we don't care if we don't close files explicitly
"SIM117", # multiple-with-statements: doesn't seem more readable
"SIM905", # split-static-string: prohibits `"some words here".split()`
# tidy-alphabetical-end
]
[lint.isort]
from-first = true
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.