Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laactech/pre-commit-config
Configuration files leveraging pre-commit for Python code linting and formatting.
https://github.com/laactech/pre-commit-config
bandit black configuration flake8 formatter formatting git isort linter linting pre-commit python
Last synced: 15 days ago
JSON representation
Configuration files leveraging pre-commit for Python code linting and formatting.
- Host: GitHub
- URL: https://github.com/laactech/pre-commit-config
- Owner: laactech
- License: bsd-3-clause
- Created: 2019-03-15T15:33:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:43:59.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T17:28:05.714Z (about 1 month ago)
- Topics: bandit, black, configuration, flake8, formatter, formatting, git, isort, linter, linting, pre-commit, python
- Language: Python
- Size: 14.6 KB
- Stars: 10
- Watchers: 0
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Pre-commit Config
**This repository is associated with a [blog post](https://www.laac.dev/blog/automating-convention-linting-formatting-python/)
about linting and formatting Python code. For a repo with more up to date configuration files
see [here](https://github.com/laactech/pre-commit-config-latest)**[pre-commit](https://pre-commit.com/) is used to install four Python code linting and
formatting tools:
* [flake8](http://flake8.pycqa.org/en/latest/) a Python style guide linter
* [bandit](https://github.com/PyCQA/bandit) a Python security vulnerability linter
* [black](https://black.readthedocs.io/en/stable/) a Python automatic code formatter
* [isort](https://github.com/timothycrosley/isort) a Python automatic import formatter
* [seed-isort-config](https://github.com/asottile/seed-isort-config) a tool to statically
populate the "known_third_party" part of the `.isort.cfg`