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

Uploaded Source

File details

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

File metadata

  • Download URL: bastila_search-0.4.5.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.5.tar.gz
Algorithm Hash digest
SHA256 ef66a746155c6cf022ac8583cc7991726a9efaabf885647ef7f0b72caffb130e
MD5 fa94e9bc21eff69fbe25a6fab831927b
BLAKE2b-256 312670169bda2d48e1ff8e318124dc13165ea4c40dc1812b9d706775c9f330bb

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