question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support pre-commit (add a small file called .pre-commit-hooks.yaml)

See original GitHub issue

Is your feature request related to a problem? Please describe.

no

Describe the solution you’d like

add a small file called .pre-commit-hooks.yaml in the root of the project, follow this

Describe alternatives you’ve considered

using pre-commit running pip-audit globally installed on the system (not ideal for teams)

Additional context

join a massive ecosystem of easy-to-use hooks

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
woodruffwcommented, Apr 30, 2022

He’s not, but all changes are welcome. Thanks @cooperlees!

1reaction
cooperleescommented, May 1, 2022

FWIW - pre-commit.ci does not like how pip-audit uses pip: https://github.com/pre-commit/pre-commit/issues/2368

Will see if we need to document that it’s not supported there or see if it can be fixed.

  • I feel it will work in my own action. I will do a PR updating docs if needed.
Read more comments on GitHub >

github_iconTop Results From Across the Web

support pre-commit (add a small file called .pre-commit-hooks ...
Please describe. no Describe the solution you'd like add a small file called .pre-commit-hooks.yaml in the root of the project, ...
Read more >
Supported hooks - pre-commit
reorder-python-imports - This hook reorders imports in python files. ... insert-license - Insert a short license disclaimer as a header comment in source ......
Read more >
How to use git pre-commit hooks, the hard way and the easy ...
Once installed, you're going to add a pre-commit configuration file to your project root named .pre-commit-config.yaml . In that config file ...
Read more >
Some Pre-commit git hooks for Python
It is called .pre-commit-config.yaml . So far, it deals with trailing white spaces and end of files. What we want to use as...
Read more >
Pre-commit - Made With ML
To help us manage all these important steps, we can use pre-commit hooks, ... define our pre-commit hooks via a .pre-commit-config.yaml configuration file....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found