This file contains hidden or 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
| black....................................................................Failed | |
| - hook id: black | |
| - files were modified by this hook | |
| reformatted /Users/gonzalodiaz/ws/sharing/tutorial-python-quality-code/src/docstyles/typing_style.py | |
| All done! ✨ 🍰 ✨ | |
| 1 file reformatted, 1 file left unchanged. | |
| flake8...................................................................Passed | |
| pydocstyle...............................................................Failed | |
| - hook id: pydocstyle | |
| - exit code: 1 |
This file contains hidden or 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
| black....................................................................Failed | |
| - hook id: black | |
| - files were modified by this hook | |
| 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. | |
| flake8...................................................................Passed |
This file contains hidden or 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
| rm .git/hooks/pre-commit.legacy | |
| git add . | |
| git commit -m "Leves modificaciones" |
This file contains hidden or 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. | |
| [INFO] Initializing environment for https://github.com/psf/black. |
This file contains hidden or 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 in migration mode with existing hooks at .git/hooks/pre-commit.legacy | |
| Use -f to use only pre-commit. | |
| pre-commit installed at .git/hooks/pre-commit |
This file contains hidden or 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
| pre-commit sample-config > .pre-commit-config.yaml |
This file contains hidden or 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 pre-commit -c conda-forge | |
| conda install pre-commit=2.4.0 -c conda-forge -y |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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. |
NewerOlder