Skip to main content

A custom Python and Django linter from Beyonder Deutschland

Project description

PyPI release Downloads Coverage Linting Coding Style Documentation Status

Welcome to the boa-restrictor - a custom Python and Django linter from Beyonder Deutschland

PyPIGitHubFull 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.16.1
    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 publish
    

    To 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boa_restrictor-1.16.1.tar.gz (120.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boa_restrictor-1.16.1-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file boa_restrictor-1.16.1.tar.gz.

File metadata

  • Download URL: boa_restrictor-1.16.1.tar.gz
  • Upload date:
  • Size: 120.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for boa_restrictor-1.16.1.tar.gz
Algorithm Hash digest
SHA256 ed034d42f0d0fe78d0571278801646e8e04a2a852ba73aaad8ca61ddefa4d1be
MD5 b766afd4c35149cb2b135c54dd499ccc
BLAKE2b-256 a2c1bc149c249603e0d4f4bd23c5dc46ac0b0dd6e899a7986c748d026f522fbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for boa_restrictor-1.16.1.tar.gz:

Publisher: release.yml on ambient-innovation/boa-restrictor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file boa_restrictor-1.16.1-py3-none-any.whl.

File metadata

File hashes

Hashes for boa_restrictor-1.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d313568a0ca0bfd53436f1c44ca8ab2951048150207124e5e6ded272dddf734
MD5 c9dbb5b1e3ff0d93aaeac5071c5e6ced
BLAKE2b-256 ff0ab6cfba972f03c1afe220e124706a2ebf54ad1b7da6543e662163e680d28d

See more details on using hashes here.

Provenance

The following attestation bundles were made for boa_restrictor-1.16.1-py3-none-any.whl:

Publisher: release.yml on ambient-innovation/boa-restrictor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page