fix black and ruff checks

This commit is contained in:
Jörg Thalheim
2023-07-21 13:03:51 +02:00
parent 926de547e2
commit 3ce01871e5
3 changed files with 13 additions and 9 deletions

View File

@@ -2,14 +2,14 @@
import argparse
import sys
from . import admin
has_argcomplete = True
try:
import argcomplete
except ImportError:
has_argcomplete = False
from . import admin
# this will be the entrypoint under /bin/clan (see pyproject.toml config)
def main() -> None:
@@ -24,5 +24,6 @@ def main() -> None:
if len(sys.argv) == 1:
parser.print_help()
if __name__ == "__main__":
main()