@@ -83,23 +83,17 @@ storage = "zocalo.configuration.plugin_storage:Storage"
8383"zocalo.shutdown" = " zocalo.cli.shutdown:run"
8484"zocalo.wrap" = " zocalo.cli.wrap:run"
8585
86- [tool .flake8 ]
87- # Black disagrees with flake8 on a few points. Ignore those.
88- ignore = " E203, E266, E501, W503"
89- # E203 whitespace before ':'
90- # E266 too many leading '#' for block comment
91- # E501 line too long
92- # W503 line break before binary operator
93- max-line-length = " 88"
94- select = """
95- E401,E711,E712,E713,E714,E721,E722,E901,
96- F401,F402,F403,F405,F541,F631,F632,F633,F811,F812,F821,F822,F841,F901,
97- W191,W291,W292,W293,W602,W603,W604,W605,W606,
98- # flake8-comprehensions, https://github.com/adamchainz/flake8-comprehensions
99- C4,"""
100-
10186[tool .isort ]
10287profile = " black"
10388
10489[tool .pytest .ini_options ]
10590required_plugins = " pytest-mock requests-mock"
91+
92+ [tool .ruff ]
93+ line-length = 88
94+ ignore = [" E501" , " E741" ]
95+ select = [" C4" , " E" , " F" , " W" , " I" ]
96+ unfixable = [" F841" ]
97+
98+ [tool .ruff .isort ]
99+ required-imports = [" from __future__ import annotations" ]
0 commit comments