flake8-github
This extension seamlessly integrates with Flake8, providing clear and elegant error annotations directly on GitHub's interface, making it easier than ever to identify and address code issues during pull request reviews.
Table of Contents
Installation
Prerequisites
- flake8 = ^6.0.0
You can install flake8-github using pip:
$ pip install flake8-github
Usage
After installing the formatter, you can enable it in your Flake8 configuration. For example, in your .flake8, setup.cfg file:
[flake8]
format = github
Run Flake8 as usual to start using github formatter:
$ flake8 src/ --format=github
Local Development Setup
To contribute to this project or develop the plugin further locally, follow these steps:
- Clone the repository:
$ git clone <https://github.com/your-username/flake8-github.git>
$ cd flake8-github
- Create a virtual environment and install development dependencies:
$ pip install pre-commit poetry
$ pre-commit install
$ poetry install
- How to bumpversion when you are done with the changes:
$ poetry self add poetry-bumpversion
$ poetry version {major, minor, patch, etc.}
Now you're ready to make changes and test your plugin locally.
Contributing
Contributions are welcome! Please follow these guidelines:
- Fork the repository.
- Create a feature branch (git checkout -b feature/my-feature).
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin feature/my-feature).
- Create a new Pull Request.
Please ensure your code adheres to the project's coding standards and includes tests.
License
This project is licensed under MIT License - see the LICENSE file for details.
Metadata
Release files for flake8-github 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_github-1.1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_github-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / flake8_github-1.1.0.tar.gz
| Download URL | flake8_github-1.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9951ddae9329a294e327ae9129680ed3d524847bf237cd2a5b5b89f1c9888cba
|
|
BLAKE2b-256 checksum How to use checksums |
0a3a80084077d16625f3ee15869b9e7574734eca28024abe4d3b4861e2e17912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
|
Release files / flake8_github-1.1.0-py3-none-any.whl
| Download URL | flake8_github-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d8dd632813995b0f8b7cba994066c18f55188a567926cc010da218077ddd196
|
|
BLAKE2b-256 checksum How to use checksums |
e8f2b95262b4017b7587cb8a6ff6fee96398d8f1fe61bcc0e39a2f7f21f4867d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
|