Skip to content

Commit

Permalink
style: Ignore multiple-with-statements (SIM117) for test files (#4008)
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Jul 9, 2024
1 parent f4a407f commit 89762ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ ignore = [
"SIM114", # if-with-same-arms
"SIM115", # open-file-with-context-handler
"SIM116", # if-else-block-instead-of-dict-lookup
"SIM117", # multiple-with-statements
"SIM118", # in-dict-keys
"SIM201", # negate-equal-op
"SIM223", # expr-and-false
Expand Down Expand Up @@ -378,6 +377,8 @@ ignore = [
"gui/wxpython/wxplot/profile.py" = ["NPY001"]
"lib/init/grass.py" = ["INT003"]
"python/grass/__init__.py" = ["PYI056"]
"python/grass/exp*/tests/grass_script_mapset_session_test.py" = ["SIM117"]
"python/grass/exp*/tests/grass_script_tmp_mapset_session_test.py" = ["SIM117"]
"python/grass/gunittest/loader.py" = ["PYI024"]
"python/grass/gunittest/multireport.py" = ["PYI024"]
"python/grass/gunittest/testsu*/d*/s*/s*/subsub*/t*/test_segfaut.py" = ["B018"]
Expand Down

0 comments on commit 89762ec

Please sign in to comment.