summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-08-20 10:04:28 +0200
committernicolargo <nicolas@nicolargo.com>2022-08-20 10:04:28 +0200
commit499288c108815d6c3047a7d9f643b7f62a89823b (patch)
treeb8a8243b6767353ad76bc18f46b15ba0e428236d /Makefile
parent82bbd00b6cf83486237627f2717a6ee38a3525f4 (diff)
Make the Makefile format target compliant with the future Glancesv4 branch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8c04a08d..200633ff 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ test: venv-upgrade venv-dev-upgrade ## Run unit tests
format: venv-dev-upgrade ## Format the code
@git ls-files '*.py' | xargs ./venv/bin/python -m autopep8 --in-place --jobs 0 --global-config=.flake8
- @git ls-files '*.py' | xargs ./venv/bin/python -m autoflake --in-place --remove-all-unused-imports --remove-unused-variables --remove-duplicate-keys --exclude="compat.py"
+ @git ls-files '*.py' | xargs ./venv/bin/python -m autoflake --in-place --remove-all-unused-imports --remove-unused-variables --remove-duplicate-keys --exclude="compat.py,globals.py"
./venv/bin/python -m black ./glances --exclude outputs/static
flake8: venv-dev-upgrade ## Run flake8 linter.