Skip to content

Commit 420b074

Browse files
committed
enhancement #37: update pre-commit. add mistake to check CI
1 parent 3ba1787 commit 420b074

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
python -m pip install --upgrade pip
1818
pip install .[dev]
19-
- name : Check import order
19+
- name : Check docstrings
2020
run : pydocstyle src/ --convention google --count
2121

2222
build-docs:

scripts/git_hooks/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ echo "-------> Flake8 passed!"
2424
mypy .
2525
echo "-------> Mypy passed!"
2626

27+
# Run pydocstring against all code in the `source_code` directory
28+
pydocstyle --convention google src/
29+
echo "-------> pydocstring passed!"

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Main script for the application.
1+
"""Main script for the application
22
33
This script processes command-line arguments, performs various operations using classes and
44
methods from the `example` module, and uses data stored in configuration files. It logs

0 commit comments

Comments
 (0)