stvfrnzl, to SEO
@stvfrnzl@mastodon.online avatar

A couple days ago I created a very opinionated for @astro, check it out: https://astro-naut-template.vercel.app/

It comes with a couple neat things, like , , & config, hooks, @andy famous and more!

Hope this helps whoever is creating websites with , any feedback appreciated.🤗

anderseknert, to random
@anderseknert@hachyderm.io avatar

I like the idea of hooks running tests, linters and whatever. In practice, I almost always disable them after some time having found it mostly distracting / annoying.

Running checks pre-push strikes the right balance for me, but that’s already so ingrained in me that I don’t need help to do so.

symmetrizer, to python
@symmetrizer@kolektiva.social avatar

I just realised I've become the kind of person who complains in PR reviews about wrong import orders and lacking space after commas.

slackline,
@slackline@mastodon.social avatar

@symmetrizer You and your team/collaborators should check out and the isort hook which will sort imports automatically.

The Black hook (or YAPF) can probably sort out the commas for you too.

Enable it in pre-commit.ci to sort out rogue PRs

See a blog I wrote at https://rse.shef.ac.uk/blog/pre-commit/

pre-commit is brilliant.

https://pycqa.github.io/isort/docs/configuration/pre-commit.html
https://black.readthedocs.io/en/stable/integrations/source_version_control.html

schizanon, to Futurology
@schizanon@mas.to avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • everett
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • khanakhh
  • rosin
  • Youngstown
  • slotface
  • mdbf
  • cisconetworking
  • kavyap
  • cubers
  • DreamBathrooms
  • megavids
  • ngwrru68w68
  • Durango
  • osvaldo12
  • tacticalgear
  • modclub
  • normalnudes
  • Leos
  • ethstaker
  • GTA5RPClips
  • tester
  • anitta
  • provamag3
  • lostlight
  • All magazines