Skip to content

Commit 3d0dae3

Browse files
committed
Adding styling tools
1 parent 0263f36 commit 3d0dae3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ test: install
3131
.PHONY: lint
3232
lint: #! Run type analysis and linting checks
3333
lint: install
34-
poetry run mypy ld_eventsource
34+
@poetry run mypy ld_eventsource
35+
@poetry run isort --check --atomic ld_eventsource contract-tests
36+
@poetry run pycodestyle ld_eventsource contract-tests
3537

3638
#
3739
# Documentation generation

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ urllib3 = ">=1.26.0,<3"
3535
mock = ">=2.0.0"
3636
pytest = ">=2.8"
3737
mypy = "^1.4.0"
38+
pycodestyle = "^2.12.1"
39+
isort = "^5.13.2"
3840

3941

4042
[tool.poetry.group.contract-tests]

0 commit comments

Comments
 (0)