use ruff instead of flake8 (#2278)

* add: use ruff instead of flake8

* Update ruff switches and remove flake8 plugins

* fix: ignore linting rules

* fix: ignore I001

* fix: spaces before noqa

---------

Co-authored-by: Kevin Chung <kchung@ctfd.io>
This commit is contained in:
Alper Berber
2023-04-11 18:20:48 +03:00
committed by GitHub
parent faa937020a
commit 23c7b2f90f
24 changed files with 52 additions and 55 deletions

View File

@@ -24,7 +24,7 @@ def test_RawEnum():
def test_JSEnum():
from CTFd.constants import JS_ENUMS
from CTFd.constants import JS_ENUMS # noqa: I001
import json
@JSEnum