You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have flake8-keyword-arguments and want to pass --max-pos-args=3 option. With flake8, I just adding max-pos-args = 3 to .flake8 or passing --max-pos-args=3. Neither works for flakehell.
Tried to put into pyproject.toml, neither works as well:
Grrr... traced this down to _checkers.py.FlakeHellCheckersManager.make_checkers and Snapshot class to find out that it's just uses cache. Manual cache removal did the trick. rm -rf ~/.cache/flakehell
Activity
bitphage commentedon Mar 23, 2021
Grrr... traced this down to
_checkers.py.FlakeHellCheckersManager.make_checkersandSnapshotclass to find out that it's just uses cache. Manual cache removal did the trick.rm -rf ~/.cache/flakehellbitphage commentedon Mar 23, 2021
Probably flakehell should be intelligent enough to detect option changes...
howeaj commentedon Mar 28, 2021
Ran into the same problem with pylint options.
Some kind of --force or --clear-cache option would also help.
nobbynobbs commentedon Apr 1, 2021
Yeah! This behavior cost me couple of hours the day I've started using flakehell 😆