jjmccollum / teiphy

A Python package for converting TEI XML collations to NEXUS, BEAST 2.7 XML, and other formats
MIT License
11 stars 3 forks source link

Black #33

Closed rbturnbull closed 2 years ago

rbturnbull commented 2 years ago

I've formatted the code with black and added a pre-commit hook.

@jjmccollum - to use the pre-commit hook, first check out this branch and then do 'poetry install'. Then you'll need to install the pre-commit hook with this command:

pre-commit install

This addresses issue #6.

jjmccollum commented 2 years ago

@rbturnbull I've checked out the branch and called poetry install successfully, but Windows isn't recognizing the pre-install command. Is there something else I need to install?

jjmccollum commented 2 years ago

Nevermind, I just installed it with pip, and now it's working!