From 802b3d3019c1d7574b81c4b1a16552e9fa558ffb Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Fri, 16 Dec 2022 14:22:53 -0500 Subject: [PATCH] ci: fix for flake8 6.0.0 breaking old configs Ref https://github.com/PyCQA/flake8/issues/1760 :clap: :clap: --- .flake8 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.flake8 b/.flake8 index 5bca76093..13ce6f08d 100644 --- a/.flake8 +++ b/.flake8 @@ -4,12 +4,16 @@ application-import-names = dmoj import-order-style = pycharm enable-extensions = G ignore = - E203, E501, W503, # for Black - W504, # line break occurred after a binary operator + # for Black + E203, E501, W503, + # line break occurred after a binary operator + W504, # allow only generator_stop and annotations future imports FI10,FI11,FI12,FI13,FI14,FI15,FI16,FI17,FI18,FI55,FI58, - C814, # missing trailing comma in Python 2 only - C818 # trailing comma on bare tuple prohibited + # missing trailing comma in Python 2 only + C814, + # trailing comma on bare tuple prohibited + C818 per-file-ignores = # F403: import *, F405: name comes from import * ./dmoj/cptbox/compiler_isolate.py:F403,F405