qutebrowser: lint with ruff (with ALL selected)
This commit is contained in:
parent
0e93cee685
commit
f9c6b206ca
12 changed files with 99 additions and 69 deletions
|
@ -1,13 +1,18 @@
|
|||
from colours.themes import load_colours, Palettes
|
||||
# ruff: noqa: INP001
|
||||
|
||||
"""The configuration module. Used to configure qutebrowser."""
|
||||
|
||||
from colours.darkmode import darkmode_on
|
||||
from colours.themes import ROSE_PINE, load_colours
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
"""Pretend this is a docstring."""
|
||||
# leave this alone!
|
||||
config.load_autoconfig()
|
||||
|
||||
# rose-pine
|
||||
load_colours(c, Palettes.rose_pine)
|
||||
load_colours(c, ROSE_PINE)
|
||||
|
||||
darkmode_on(config, ["about:blank"])
|
||||
|
||||
|
@ -25,7 +30,7 @@ def main():
|
|||
c.tabs.indicator.width = 0
|
||||
c.tabs.title.format = "{audio}{relative_index} | {current_title}"
|
||||
|
||||
c.fonts.default_size = "12pt"
|
||||
c.fonts.default_size = "9pt"
|
||||
c.fonts.default_family = "sans-serif"
|
||||
|
||||
c.url.start_pages = "about:blank"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue