Commit 47de83d1 authored by Nicolas Garcia Ospina's avatar Nicolas Garcia Ospina
Browse files

Merge branch 'best-practices-formatting' into 'master'

Included makefile for code formatting

See merge request !2
parents cac707de ccebb7be
SOURCES=quadtreegrid tests setup.py
LENGTH=96
check: $(SOURCES)
flake8 --max-line-length=$(LENGTH) $^
black --check --line-length $(LENGTH) $^
pylint -E $^
black: $(SOURCES)
black --line-length $(LENGTH) $^
......@@ -3,6 +3,7 @@
from setuptools import setup, find_packages
tests_require = ["pytest"]
linters_require = ["black>=20.8b1", "pylint", "flake8"]
setup(
name="quadtreegrid",
......@@ -11,7 +12,10 @@ setup(
keywords="OpenBuildingMap, quadtree, grid",
author="Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ",
install_requires=["numpy"],
tests_require=tests_require,
extras_require={
"tests": tests_require,
"linters": linters_require,
},
packages=find_packages(),
entry_points={"console_scripts": ["quadtreegrid = quadtreegrid.quadtreegrid:main"]},
python_requires=">=3.7",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment