Skip to content

Conversation

@michplunkett
Copy link
Owner

@michplunkett michplunkett commented Sep 27, 2023

Describe your changes

Instead of adding multiple linters, formatters, etc. to an application I'm gonna have pre-commit manage it.

Checklist before requesting a review

  • The code runs successfully.
(poetry-python-project-py3.11) michaelp@MacBook-Air-5 python_project_template % make lint
pre-commit run --all-files
trim trailing whitespace.................................................Passed
python tests naming..................................(no files to check)Skipped
check docstring is first.................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check json...........................................(no files to check)Skipped
check for case conflicts.................................................Passed
check toml...............................................................Passed
check for merge conflicts................................................Passed
check xml............................................(no files to check)Skipped
check yaml...............................................................Passed
fix end of files.........................................................Passed
check for broken symlinks............................(no files to check)Skipped
mixed line ending........................................................Passed
sort simple yaml files...............................(no files to check)Skipped
fix python encoding pragma...............................................Passed
pretty format json...................................(no files to check)Skipped
check blanket noqa.......................................................Passed
check for not-real mock methods..........................................Passed
check for eval().........................................................Passed
use logger.warning(......................................................Passed
Run isort to sort imports................................................Passed
ruff.....................................................................Passed
flake8...................................................................Passed
black....................................................................Passed
(poetry-python-project-py3.11) michaelp@MacBook-Air-5 python_project_template % 

@michplunkett michplunkett self-assigned this Sep 27, 2023
@michplunkett michplunkett merged commit 1d937f3 into main Sep 27, 2023
@michplunkett michplunkett deleted the switch_to_pre_commit branch September 27, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants