Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
adding pydocstyle check to lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelharms committed Mar 6, 2020
1 parent f2cfe48 commit c9d9496
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
29 changes: 28 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ autopep8 = "^1.4.4"
pytest-cov = "^2.8.1"
snapshottest = "^0.5.1"
pandas = "^0.25.3"
pydocstyle = "^5.0.2"

[build-system]
requires = ["poetry>=0.12"]
Expand Down
3 changes: 3 additions & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ poetry run pylint --ignore=snapshots comcrawl tests || FAILURE=true
echo "pycodestyle"
poetry run pycodestyle --exclude=snapshots comcrawl tests || FAILURE=true

echo "pydocstyle"
poetry run pydocstyle comcrawl || FAILURE=true

echo "mypy"
poetry run mypy comcrawl tests || FAILURE=true

Expand Down

0 comments on commit c9d9496

Please sign in to comment.