You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to give context on this. I did a test with and without pylint in .pre-commit-config.yaml:
With pylint it takes 45s to create the commit.
$ time git commit -m "test" -a
bandit...................................................................Passed
flake8...................................................................Passed
pylint...................................................................Passed
black....................................................................Passed
[detached HEAD df6885fb] test
1 file changed, 1 insertion(+), 1 deletion(-)
git commit -m "test" -a 45.05s user 1.78s system 98% cpu 47.371 total
Without pylint it takes 0.74s to create the commit.
$ time git commit -m "test" -a
bandit...................................................................Passed
flake8...................................................................Passed
black....................................................................Passed
[detached HEAD a8107f27] test
1 file changed, 1 insertion(+), 1 deletion(-)
git commit -m "test" -a 0.74s user 0.29s system 86% cpu 1.187 total
pylint can take quite a while to run, so I think it may be best not to run it as part of pre-commit, and only run it with tox or on the CI.
The text was updated successfully, but these errors were encountered: