This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda activate tutorial-python-quality-code-env | |
conda search pydocstyle | |
conda install pydocstyle=4.0.1 -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./src/docstyles/typing_style.py:1 at module level: | |
D100: Missing docstring in public module | |
./src/docstyles/typing_style.py:9 in public method `__init__`: | |
D107: Missing docstring in __init__ | |
./src/docstyles/numpy_style.py:1 at module level: | |
D100: Missing docstring in public module | |
./src/docstyles/numpy_style.py:2 in public class `World`: | |
D413: Missing blank line after last section ('Attributes') | |
./src/docstyles/numpy_style.py:2 in public class `World`: | |
D413: Missing blank line after last section ('Attributes') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda activate tutorial-python-quality-code-env | |
conda search mypy | |
conda install mypy=0.770 -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/docstyles/typing_style.py:26: error: Incompatible return value type (got "Dict[Any, Any]", expected "int") | |
src/docstyles/typing_style.py:26: error: Argument 1 to "population" of "World" has incompatible type "str"; expected "int" | |
Found 2 errors in 1 file (checked 6 source files) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda activate tutorial-python-quality-code-env | |
conda search black | |
conda install black=19.10b -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reformatted /Users/gonzalodiaz/ws/sharing/tutorial-python-quality-code/src/docstyles/google_style.py | |
reformatted /Users/gonzalodiaz/ws/sharing/tutorial-python-quality-code/src/docstyles/numpy_style.py | |
reformatted /Users/gonzalodiaz/ws/sharing/tutorial-python-quality-code/src/docstyles/sphinx_style.py | |
reformatted /Users/gonzalodiaz/ws/sharing/tutorial-python-quality-code/src/docstyles/typing_style.py | |
All done! ✨ 🍰 ✨ | |
4 files reformatted, 2 files left unchanged. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./src/docstyles/google_style.py:3:1: W293 blank line contains whitespace | |
./src/docstyles/google_style.py:8:80: E501 line too long (82 > 79 characters) | |
./src/docstyles/typing_style.py:3:1: W293 blank line contains whitespace | |
./src/docstyles/sphinx_style.py:3:1: W293 blank line contains whitespace | |
./src/docstyles/sphinx_style.py:21:20: W291 trailing whitespace | |
./src/docstyles/numpy_style.py:3:1: W293 blank line contains whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running Black... | |
All done! ✨ 🍰 ✨ | |
6 files left unchanged. | |
Running Flake8... | |
Running pyDocStyle... | |
Running MyPy... | |
Success: no issues found in 6 source files | |
Congratulations! All went well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROOT_DIR="$(git rev-parse --show-toplevel)" | |
ln -sv "${ROOT_DIR}/scripts/pre-commit" "$ROOT_DIR/.git/hooks/pre-commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running Linters... | |
Running Black... | |
All done! ✨ 🍰 ✨ | |
6 files left unchanged. | |
Running Flake8... | |
Running pyDocStyle... | |
Running MyPy... | |
Success: no issues found in 6 source files | |
Congratulations! All went well. | |
[repository_setup 7aaa337] Nuevo Commit |