Skip to content

Commit

Permalink
turn pylint into something actionable
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jul 1, 2021
1 parent e06c208 commit 39503df
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 396 deletions.
379 changes: 0 additions & 379 deletions .pylintrc

This file was deleted.

6 changes: 5 additions & 1 deletion Makefile
@@ -1,3 +1,6 @@
PYLINTRC_PATH := ./.pylintrc
PYLINT_RULES := --disable=all --enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode

test: testbins
@cp gef.py /tmp/gef.py
python3 tests/runtests.py
Expand All @@ -15,4 +18,5 @@ testbins: tests/binaries/*.c
@$(MAKE) -C tests/binaries all

lint:
python3 -m pylint --rcfile ./.pylintrc tests/*.py
python3 -m pylint $(PYLINT_RULES) gef.py
python3 -m pylint $(PYLINT_RULES) tests/*.py

0 comments on commit 39503df

Please sign in to comment.