Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 982 Bytes

File metadata and controls

52 lines (32 loc) · 982 Bytes

Development

Tools

This project uses the following development tools:

  • Flake8: Python static code analyzer (or linter).
  • Mypy: Static type checker for Python.
  • Isort: Python utility to sort imports alphabetically, and automatically separated into sections and by type.
  • Black: Python code formatter.

Building

Run the following command:

make build

make dist

Linting

Run the following command:

make lint

Some lint errors can be automatically fixed by running the following command:

make lint-fix

Testing

make test

Adding Python Dependencies

  • Add package to requirements.in (base & production environments) or requirements-dev.in (development, testing, and release environments).
  • Run make python-deps-compile.
  • Run git add requirements.txt requirements-dev.txt.