We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7060428 + dbb1faf commit c3dfc6aCopy full SHA for c3dfc6a
Brewfile
@@ -9,7 +9,7 @@ brew "pyenv"
9
# Manage virtualenvs with Pyenv just in case
10
brew "pyenv-virtualenv"
11
# Dockerfile linting, but only if we have Dockerfiles
12
-brew "hadolint" unless %x[find . -iname Dockerfile].empty?
+brew "hadolint" unless %x[git ls-files '*Dockerfile*'].empty?
13
# Pre-commit checks, if we have a config
14
brew "pre-commit" if File.exist?(".pre-commit-config.yaml")
15
0 commit comments