mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-19 00:20:32 +03:00
nixos-render-docs: De-lint using ruff --fix
This automated de-linting has applied a few different refactors: - Remove unused imports and variables - Change f-strings with no variables to regular strings - Remove trailing semicolon
This commit is contained in:
parent
7403dd3fe2
commit
7b396875bb
13 changed files with 18 additions and 28 deletions
|
@ -1,6 +1,6 @@
|
|||
from collections.abc import Mapping, Sequence
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, cast, Optional
|
||||
from typing import cast, Optional
|
||||
|
||||
from .md import md_escape, md_make_code, Renderer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue