Move flake8 config from toml to .flake8 as flake8 does not play nice with pyproject.toml and add pre-commit hook for flake8

This commit is contained in:
Cosmin Ciocan
2024-01-12 17:45:37 +01:00
parent ee68b4025b
commit 182e3519ad
9 changed files with 31 additions and 33 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def fixtures_path(tests_path):
@pytest.fixture(scope="session")
def sample_magic_cu_line():
# fmt: off
return '--profile --profiler-args "--metrics l1tex__t_sectors_pipe_lsu_mem_global_op_ld.sum"'
return '--profile --profiler-args "--metrics l1tex__t_sectors_pipe_lsu_mem_global_op_ld.sum"' # noqa: E501
# fmt: on