-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flake8 Add Makefile Style fixes
- Loading branch information
Showing
13 changed files
with
77 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
all: init clean lint test | ||
|
||
clean: clean-build clean-pyc ## Clean build files and pyc files | ||
rm -fr htmlcov/ | ||
|
||
clean-build: ## Clean build files | ||
rm -fr build/ | ||
rm -fr dist/ | ||
rm -fr *.egg-info | ||
|
||
clean-pyc: ## Clean pyc files | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '*~' -exec rm -f {} + | ||
|
||
init: ## Install test packages | ||
pip install pytest pytest-qt pytest-mock flake8 | ||
|
||
test: ## Run tests | ||
pytest | ||
|
||
flake: ## Run flake8 | ||
flake8 --statistics --count | ||
|
||
lint: flake ## Run all linters | ||
|
||
.PHONY: help | ||
|
||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
from setuptools import setup | ||
|
||
setup(name='CherryTomato', | ||
author='yakimka', | ||
version='0.4.0', | ||
packages=['CherryTomato'], | ||
python_requires='>=3.6', | ||
install_requires=['PyQt5', 'qroundprogressbar'], | ||
url='https://github.com/yakimka/CherryTomato', | ||
license='GPL', | ||
entry_points={'gui_scripts': ['cherry_tomato = CherryTomato.main']}, | ||
package_data={ | ||
'': ['media/*.*'], | ||
}) | ||
from CherryTomato import VERSION | ||
|
||
setup( | ||
name='CherryTomato', | ||
author='yakimka', | ||
version=VERSION, | ||
packages=['CherryTomato'], | ||
python_requires='>=3.6', | ||
install_requires=['PyQt5', 'qroundprogressbar'], | ||
url='https://github.com/yakimka/CherryTomato', | ||
license='GPL', | ||
entry_points={'gui_scripts': ['cherry_tomato = CherryTomato.main:main']}, | ||
package_data={'': ['media/*.*'], }, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
max-complexity = 10 | ||
max-line-length = 100 | ||
exclude = *_ui.py, |