summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-05-17 11:26:47 +0200
committernicolargo <nicolas@nicolargo.com>2023-05-17 11:26:47 +0200
commitcb9dba3c185d6f28d84044f412d2f0ce52ecd012 (patch)
treedf3cc3077b12bed300bb47035d8dc2da2c933b55 /Makefile
parent230c2fe437fe27066926102798df9304931d31e3 (diff)
Glances version 3.4.0.1v3.4.0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 090e12f7..635b71a4 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,8 @@ test-with-upgrade: 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,globals.py"
+ @git ls-files './glances/*.py' | xargs ./venv/bin/python -m autopep8 --in-place --jobs 0 --global-config=.flake8
+ @git ls-files './glances/*.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.