Closed jhoover4 closed 3 years ago
@jhoover4 Could you try again with rev: v2.0.2
instead of rev: v2.0.0
?
Wow yep that worked 🤦 . Sorry I looked at the releases not the tags. Might want to add it there?
But thanks for the quick help! Much appreciated.
Describe the bug
Looks like this is having trouble running with Python3.9 for me. It seems to be an issue with
Cattrs
.To Reproduce
Using
Pre-Commit
, I get this error:My
pre-commit-config.yaml
looks like this:Steps to reproduce the behaviour
See above
Expected behaviour
Expected
reformat-gherkin
to run with.pre-commit
correctly without errors.Actual behaviour
I received the error as noted above.
Environment
Additional context
May be related to this issue: https://github.com/Tinche/cattrs/issues/46, which seems to have been fixed.
From the Poetry file it seems like the latest version should be being used, so I'm not sure whats happening here :/. https://github.com/ducminh-phan/reformat-gherkin/blob/master/pyproject.toml#L34