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

@@ -1,4 +1,4 @@
from __future__ import with_statement
from __future__ import with_statement # noqa: I001
import logging
from logging.config import fileConfig