mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-15 15:09:22 +00:00
ruff rule FBT
This commit is contained in:
1 parent
cfc19434d0
commit
171a1cb876
11 files changed
+26
-26
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user