Skip to content

Commit

Permalink
Refactor into classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Sep 8, 2023
1 parent 45e0e28 commit 639ea15
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 81 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
run: |
make flake8
continue-on-error: true
- name: mypy
run: |
make mypy
continue-on-error: true
- name: black
run: |
make black
continue-on-error: true
- name: pylint
run: |
make pylint
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
FILES=bugme.py

.PHONY: all
all: flake8 pylint
all: flake8 pylint mypy black

.PHONY: flake8
flake8:
@flake8 --ignore=E501 $(FILES)

.PHONY: pylint
pylint:
@pylint $(FILES)
@pylint --disable=line-too-long $(FILES)

.PHONY: mypy
mypy:
@mypy --disable-error-code=attr-defined $(FILES)

.PHONY: black
black:
@black --check $(FILES)
Loading

0 comments on commit 639ea15

Please sign in to comment.