Commit 2b7b2b7a authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

Merge branch 'feature/basics' into 'master'

setup rudimentary project structure

See merge request shakemap/shakyground2!1
parents 9cadf3a7 984d7bf6
SOURCES=shakyground2 *.py
LENGTH=96
check: $(SOURCES)
flake8 --max-line-length=$(LENGTH) $^
black --check --line-length $(LENGTH) $^
pylint -E $^
black: $(SOURCES)
black --line-length $(LENGTH) $^
# shakyground2
# Shakyground2
Scientific code, tools and API to generate, process and communicate ground motions.
\ No newline at end of file
Scientific code, tools and API to generate, process and communicate ground motions.
## Development and contribution
Install development and test dependencies with
pip3 install .[tests]
Before committing make check or correct your code style
make check
or
make black
#!/usr/bin/python3
from setuptools import setup, find_packages
test_requirements = ["pylint", "flake8", "pytest"]
setup(
name="shakyground2",
version="0.1.0",
description="",
license="AGPLv3+",
extras_require={"tests": test_requirements},
install_requires=[],
packages=find_packages(),
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