mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user