We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657f8d7 commit 6c1cbc9Copy full SHA for 6c1cbc9
2 files changed
Makefile
@@ -27,6 +27,7 @@ test: lint
27
.PHONY: lint
28
lint:
29
@./scripts/copyright.sh
30
+ @echo "==> Running flake8 linter"
31
tox -e lint
32
33
.PHONY: docs
scripts/copyright.sh
@@ -25,7 +25,7 @@ red() {
25
}
26
run_copyright() {
- OUT=$(find . -name '*.py' | grep -v -E "./(docs|scripts|debian|juju-egg-info|.tox|.git|juju/client)|__init__" | sort | xargs grep -L -E '# (Copyright|Code generated)' || true)
+ OUT=$(find . -name '*.py' | grep -v -E "./(docs|scripts|debian|juju-egg-info|.tox|.git|juju/client|tests/charm)|__init__" | sort | xargs grep -L -E '# (Copyright|Code generated)' || true)
LINES=$(echo "${OUT}" | wc -w)
if [ "$LINES" != 0 ]; then
echo ""
0 commit comments