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.5.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: bastila_search-0.5.0.tar.gz
  • Upload date:
  • Size: 4.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 4d2704e06a8caa68a3b5147b991b9d41ad61d62d8ced4ed9ad80b8e13a9a9baf
MD5 78828f3d3c2e3c509a79e565aab53494
BLAKE2b-256 157e482e427f42ad1e06c4978cbb42a54ccbe6eec0f8ca1810ae7a3503b7a201

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