Welcome to the boa-restrictor - a custom Python and Django linter from Beyonder Deutschland
PyPI • GitHub • Full documentation
Creator & Maintainer: Beyonder Deutschland
Installation
Add the following to your .pre-commit-config.yaml file:
- repo: https://github.com/ambient-innovation/boa-restrictor
rev: v1.17.0
hooks:
- id: boa-restrictor
args: [ --config=pyproject.toml ]
Now you can run the linter manually:
pre-commit run --all-files boa-restrictor
Publish to ReadTheDocs.io
- Fetch the latest changes in GitHub mirror and push them
- Trigger new build at ReadTheDocs.io (follow instructions in admin panel at RTD) if the GitHub webhook is not yet set up.
Publish to PyPi
-
Update documentation about new/changed functionality
-
Update the
Changelog -
Increment version in main
__init__.py -
Create pull request / merge to main
-
This project uses the flit package to publish to PyPI. Thus, publishing should be as easy as running:
flit publishTo publish to TestPyPI use the following to ensure that you have set up your .pypirc as shown here and use the following command:
flit publish --repository testpypi
Create new version for pre-commit
To be able to use the latest version in pre-commit, you have to create a git tag for the current commit. So please tag your commit and push it to GitHub.
Maintenance
Please note that this package supports the ambient-package-update.
So you don't have to worry about the maintenance of this package. This updater is rendering all important
configuration and setup files. It works similar to well-known updaters like pyupgrade or django-upgrade.
To run an update, refer to the documentation page of the "ambient-package-update".
Metadata
Release files for boa-restrictor 1.18.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 | |
|---|---|---|---|
| boa_restrictor-1.18.0.tar.gz | 143.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| boa_restrictor-1.18.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 185.7 kB
Release files / boa_restrictor-1.18.0.tar.gz
| Download URL | boa_restrictor-1.18.0.tar.gz |
|---|---|
| Size | 143.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
441fdb4aa09249d927893e46c061335068c5e5f4b2b2d203aa1d9c9dfb1ce3ec
|
|
BLAKE2b-256 checksum How to use checksums |
fc563a400cf9df1cb9889974ba462dc9e1ab7bd02d8591c96266bf7e935d5d18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / boa_restrictor-1.18.0-py3-none-any.whl
| Download URL | boa_restrictor-1.18.0-py3-none-any.whl |
|---|---|
| Size | 42.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51fef03206a1b92488acf10f2c37a8a7aa559e6bac0dde5f7546b4ca59521117
|
|
BLAKE2b-256 checksum How to use checksums |
848c948ec77b53285aa8762e129ddd4447353f773b6e99374028d266679f6b4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log