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
- Install the package
pip install bastila-search - Create a precommit file
touch .git/hooks/pre-commit - Add execute access to that file
chmod +x .git/hooks/pre-commit - Add the script to your pre-commit file
#!/bin/sh
bastila_run
- 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
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
bastila_search-0.4.6.tar.gz
(4.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5e5e89c8faa21e4ac1803e2055bc8642d45f9ec4a01007eecfbcb321dba706
|
|
| MD5 |
ccf17eaf70ce1c8fbb59959ac12a0cac
|
|
| BLAKE2b-256 |
a36c2baa2565659540c2d6eea3cb705a39e874a24e834dece0add50ea766e629
|