Skip to content

Instantly share code, notes, and snippets.

@Tlaloc-Es
Last active March 16, 2023 15:50
Show Gist options
  • Save Tlaloc-Es/3a80471fa6b7273a21634cc96f662987 to your computer and use it in GitHub Desktop.
Save Tlaloc-Es/3a80471fa6b7273a21634cc96f662987 to your computer and use it in GitHub Desktop.
build = "python setup.py bdist_wheel"
test = "python pytest -s -v test/"
mypy = "mypy --strict --implicit-reexport dlr"
lint = "pylint ."
isort = "isort . --profile black"
format = "black dlr ."
pre_commit_update = "pre-commit autouptade"
pre_commit_all = "pre-commit run --all-files"
clean = [
{clean_pycache = "find . | grep -E '(/__pycache__$|\.pyc$|\.pyo$)' | xargs rm -rf"},
{clean_build = "rm -rf build/"},
{clean_dist = "rm -rf dist/"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment