From 1c5006c013acbeac29f1c1afe6348c0c7b5b0b1c Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 9 Oct 2023 13:12:55 +0300 Subject: [PATCH] chore: :fire: delete Makefile, pypi and formatters has been automatic, we don't need this file anymore --- Makefile | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 26bbef51..00000000 --- a/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -.PHONY: style check_code_quality - -export PYTHONPATH = . -check_dirs := supervision - -style: - black $(check_dirs) - isort --profile black $(check_dirs) - -check_code_quality: - black --check $(check_dirs) - isort --check-only --profile black $(check_dirs) - # stop the build if there are Python syntax errors or undefined names - flake8 $(check_dirs) --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. E203 for black, E501 for docstring, W503 for line breaks before logical operators - flake8 $(check_dirs) --count --max-line-length=88 --exit-zero --ignore=D --extend-ignore=E203,E501,W503 --statistics - -publish: - poetry build - twine upload -r testpypi dist/* -u ${PYPI_USERNAME} -p ${PYPI_TEST_PASSWORD} --verbose - twine check dist/* - twine upload dist/* -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --verbose