Skip to main content

A python script that catches commits that introduce predefined deprecated patterns

Project description

Bastila

Bastila is a tool for removing deprecated code. You define deprecated patterns using regex in the app and then prevent additional usages of those deprecated patterns from being used. The tool can also be used to track the removal of these patterns as well.

Installation Instructions

  1. Install the package pip install bastila-search
  2. Create a precommit file touch .git/hooks/pre-commit
  3. Add execute access to that file chmod +x .git/hooks/pre-commit
  4. Add the script to your pre-commit file
#!/bin/sh
bastila_run
  1. Run the setup command to create a config file with your env vars bastila_setup. This will create a config.json file that should be kept in the root of your repository.

Support: hello@bastila.app

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

bastila_search-0.4.6.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file bastila_search-0.4.6.tar.gz.

File metadata

  • Download URL: bastila_search-0.4.6.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for bastila_search-0.4.6.tar.gz
Algorithm Hash digest
SHA256 0c5e5e89c8faa21e4ac1803e2055bc8642d45f9ec4a01007eecfbcb321dba706
MD5 ccf17eaf70ce1c8fbb59959ac12a0cac
BLAKE2b-256 a36c2baa2565659540c2d6eea3cb705a39e874a24e834dece0add50ea766e629

See more details on using hashes here.

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