Closed jakkdl closed 1 year ago
Added:
Move all
trioxxx.py
files into a subdirectory oftests/
so it's clear what files contains tests and which ones contain test data. Can then also get rid of regex and naming restrictions on files.
1st one is obsolete with the upcoming libcst rewrite, and the fourth one was recently fixed, so this is now closed~
Copied out from #81
[x]
Get rid of visitors manually visiting subnodesirrelevant with libcstenter
andexit
as magic names, and other names called as they match up with the_fields
of the visited node. And the external runner handles a visit different depending on if it's isinstance function or class[x] #103 I'm also starting to want to split up flake8_trio.py into different files, 1500 lines is starting to be quite inconvenient to navigate, and get any overview on - I also know you are hesitant to split given installation complications so would have to take care when doing that.
[x] #91
[x] don't hard code unnecessary variables in
Flake8TrioVisitor.get_state
- it would most likely just mean renaming a lot of variables. But is bound to introduce bugs in it's current state so plan to fix it soon after merge.[x] #102 Move all
trioxxx.py
files into a subdirectory oftests/
so it's clear what files contains tests and which ones contain test data. Can then also get rid of regex and naming restrictions on files.