/clean-architecture

Example project showing off clean/hexagonal architecture concepts in Python

Primary LanguagePythonMIT LicenseMIT

Implementing the Clean Architecture - Auctions

Example project used in the book Implementing the Clean Architecture

Implementing the Clean Architecture cover

Build status

CircleCI Code style: black

Working with the repo

Pycharm - mark each package as Sources Root. Marking directories as source root in PyCharm Console - make dev to install each subpackage in editable mode.

Working with docker containers

# Start everything
docker-compose up --build

# Black formatting
docker-compose exec -T app black -l 120 ./
# isort
docker-compose exec -T app isort --recursive ./
# flake8 checks
docker-compose exec -T app flake8 --max-line-length 120 ./