unstructured
670687bb - update .pre-commit-config to match linting used by CI (#1906)

Commit
2 years ago
update .pre-commit-config to match linting used by CI (#1906) Closes #1905 .pre-commit-config.yaml does not match pyproject.toml, which causes unnecessary/undesirable formatting changes. These changes are not required by CI, so they should not have to be made. **To Reproduce** Install pre-commit configuration as described [here](https://github.com/Unstructured-IO/unstructured#installation-instructions-for-local-development). Make a commit and something like the following will be logged: ``` check for added large files..............................................Passed check toml...........................................(no files to check)Skipped check yaml...........................................(no files to check)Skipped check json...........................................(no files to check)Skipped check xml............................................(no files to check)Skipped fix end of files.........................................................Passed trim trailing whitespace.................................................Passed mixed line ending........................................................Passed black....................................................................Passed ruff.....................................................................Failed - hook id: ruff - files were modified by this hook ``` --------- Co-authored-by: Yao You <theyaoyou@gmail.com>
Author
Parents
Loading