ruff rule FBT

This commit is contained in:
thomas girod committed 2024-07-08 15:37:09 +02:00
1 parent cfc19434d0
commit 171a1cb876
11 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ class Command(BaseCommand):
pyproject = tomli.load(f)
return pyproject["tool"]["xapian"]["version"]
def handle(self, force: bool, *args, **options):
def handle(self, *args, force: bool, **options):
if not os.environ.get("VIRTUAL_ENV", None):
print("No virtual environment detected, this command can't be used")
return