papermill icon indicating copy to clipboard operation
papermill copied to clipboard

Migrate to hatch

Open willingc opened this issue 1 year ago • 5 comments

Closes #747

willingc avatar Nov 17 '23 02:11 willingc

Can we get a draft version without the linting / quoting changes? Would be a lot easier to review / iterate if we can undo that part for now.

MSeal avatar Nov 17 '23 23:11 MSeal

Absolutely @MSeal. I would love to see the precommit bot to avoid autofixing things.

Right now this is a draft. I want to see if by going to more modern packaging if we can get rid of tox and simplify CI.

willingc avatar Nov 18 '23 05:11 willingc

@Borda I'm going to close this PR but am leaving open right now as a WIP as I'm going to write a tutorial for the hatch maintainer about migrating an existing repo to hatch.

willingc avatar Nov 21 '23 13:11 willingc

I'm going to write a tutorial for the hatch maintainer about migrating an existing repo to hatch.

looking forward to reading it it would be an interesting solution for a few of my projects...

Borda avatar Nov 21 '23 14:11 Borda

@Borda FWIW, I've found that hatch new --init does a pretty good job in many cases; you can combine that with flake8-to-ruff, pyproject-migrator and pylint-to-ruff in a suitable combination... 😁

akx avatar Dec 19 '23 06:12 akx