Giter VIP home page Giter VIP logo

Comments (6)

KyleOndy avatar KyleOndy commented on July 18, 2024 1

Very cool! Thanks for the links to those references.

from pre-commit-terraform.

antonbabenko avatar antonbabenko commented on July 18, 2024 1

I agree, we won't prioritize support for multiplatform using Python. Bash or docker is better option.

from pre-commit-terraform.

Aankhen avatar Aankhen commented on July 18, 2024

I started working on that and then found that someone had already written a script to transform the docs, which ought to be able to replace a large chunk of terraform_docs.sh. See marcuscaisey’s comment in terraform-docs/terraform-docs#62.

from pre-commit-terraform.

Aankhen avatar Aankhen commented on July 18, 2024

Not at all. I’m going to see if I can work on this and make it happen, since there’s more than just the conversion that’s written in Bash.

from pre-commit-terraform.

Aankhen avatar Aankhen commented on July 18, 2024

terraform-docs/terraform-docs#113 is now moving forward, so I’ll wait for that to land first.

from pre-commit-terraform.

MaxymVlasov avatar MaxymVlasov commented on July 18, 2024

Python works extremely slowly than bash. Some years ago I wrote my own hooks in python 3 and then rewrite it to sh. Same logic - x10 times faster

If you do not use WSL in Windows, the better will be dockerize hooks, than rewrite it to python. In different systems installed different python versions - this will create many issues in the future.

from pre-commit-terraform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.