Compare commits

..

2 commits

Author SHA1 Message Date
5eba7b207f Waybar custom module tweaks 2025-04-25 10:03:56 -07:00
fdaa60f504 Update ruff defaults
- Minimum version py310, to prevent "Py 3.9 does not have foo" errors
- Drop ANN101 because it's deprecated anyway
2025-04-25 10:02:54 -07:00
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,5 @@
[tool.ruff]
target-version = "py310"
line-length = 120
indent-width = 4
@ -41,7 +42,6 @@ lint.select = [
]
lint.ignore = [
"ANN101", # No type hint for "self" - not necessary and makes noisy code
"D203", # Blank line required before class docstring - conflicts with ruff's own formatter
"D211", # No line before class, incompatible with D203 - one line before class
"D212", # Summary on first line; incompatible with D213 - summary on second line

View file

@ -72,7 +72,7 @@
},
"custom/oven": {
"exec": "$HOME/workspace/foxstatus/modules/oven.py",
"max-length": 6,
"max-length": 8,
"interval": 300
}
}