langchain/Makefile
Steven Hoelscher 98fb19b535
chore: use poetry as dependency manager (#242)
* Adopts [Poetry](https://python-poetry.org/) as a dependency manager
* Introduces dependency version requirements
* Deprecates Python 3.7 support

**TODO**
- [x] Update developer guide
- [x] Add back `playwright`, `manifest-ml`, and `jupyter` to dependency
group

**Not Doing => Fast Follow**
- Investigate single source for version, perhaps relying on GitHub tags
and [tackling this
issue](https://github.com/hwchase17/langchain/issues/26)
2022-12-03 16:42:59 -08:00

18 lines
303 B
Makefile

.PHONY: format lint tests integration_tests
format:
poetry run black .
poetry run isort .
lint:
poetry run mypy .
poetry run black . --check
poetry run isort . --check
poetry run flake8 .
tests:
poetry run pytest tests/unit_tests
integration_tests:
poetry run pytest tests/integration_tests