chrisbillows / raindrop-todoist-syncer

Converts favourited Raindrops into tasks in Todoist.
2 stars 1 forks source link

Add pytest/unit tests to pre-commit #40

Closed chrisbillows closed 7 months ago

chrisbillows commented 6 months ago

So subsequent to adding this I've discovered it is not recommended by pre-commit maintainer asottile:

https://github.com/pytest-dev/pytest/discussions/7793 https://github.com/pre-commit/pre-commit/issues/761#issuecomment-394167542 https://github.com/pre-commit/pre-commit/issues/1130#issuecomment-528939914

I will keep it for now since I want the tests are currently quick, I want them run this will stop me forgetting and it is only me! So, yay future me, deal with this if you have to. 🖕

(Also ref: #41, #42, #43 and #45)