A custom Python and Django linter from Ambient
Project description
Welcome to the boa-restrictor - a custom Python and Django linter from Ambient
PyPI • GitHub • Full documentation
Creator & Maintainer: Ambient Digital
Installation
Add the following to your .pre-commit-config.yaml file:
- repo: https://github.com/ambient-innovation/boa-restrictor
rev: v1.14.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".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file boa_restrictor-1.14.0.tar.gz.
File metadata
- Download URL: boa_restrictor-1.14.0.tar.gz
- Upload date:
- Size: 116.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbd74d3f09ae05cd774f0020493def79a50c742d97807f702946bc71fbc80e6e
|
|
| MD5 |
6f579c7abc5af76e5c32d594ddb77d8b
|
|
| BLAKE2b-256 |
befcb1f6876c2b101a6db8fa1cc9324699135b37363f69e2bef2e3def653866b
|
Provenance
The following attestation bundles were made for boa_restrictor-1.14.0.tar.gz:
Publisher:
release.yml on ambient-innovation/boa-restrictor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boa_restrictor-1.14.0.tar.gz -
Subject digest:
fbd74d3f09ae05cd774f0020493def79a50c742d97807f702946bc71fbc80e6e - Sigstore transparency entry: 1439818230
- Sigstore integration time:
-
Permalink:
ambient-innovation/boa-restrictor@7a3a20239cd23391bbe4eacc2bf2b11c43c8e01d -
Branch / Tag:
refs/tags/v1.14.0 - Owner: https://github.com/ambient-innovation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7a3a20239cd23391bbe4eacc2bf2b11c43c8e01d -
Trigger Event:
push
-
Statement type:
File details
Details for the file boa_restrictor-1.14.0-py3-none-any.whl.
File metadata
- Download URL: boa_restrictor-1.14.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3950b69916d740a8528ccbeb73d046807d19f786af7108a6329124baf0a2d1f
|
|
| MD5 |
cbca95e5424d7f0e3db560325c8450d8
|
|
| BLAKE2b-256 |
b3da1869fb3a79e0dd7c2b08427801b593924a28914ea5779a8ed66182796afb
|
Provenance
The following attestation bundles were made for boa_restrictor-1.14.0-py3-none-any.whl:
Publisher:
release.yml on ambient-innovation/boa-restrictor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boa_restrictor-1.14.0-py3-none-any.whl -
Subject digest:
f3950b69916d740a8528ccbeb73d046807d19f786af7108a6329124baf0a2d1f - Sigstore transparency entry: 1439818243
- Sigstore integration time:
-
Permalink:
ambient-innovation/boa-restrictor@7a3a20239cd23391bbe4eacc2bf2b11c43c8e01d -
Branch / Tag:
refs/tags/v1.14.0 - Owner: https://github.com/ambient-innovation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7a3a20239cd23391bbe4eacc2bf2b11c43c8e01d -
Trigger Event:
push
-
Statement type: