Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amy-keibler/lift-python-example
https://github.com/amy-keibler/lift-python-example
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amy-keibler/lift-python-example
- Owner: amy-keibler
- Created: 2023-01-26T16:33:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T15:56:57.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T17:02:55.861Z (over 1 year ago)
- Language: Nix
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lift Python Example
This repository provides examples of various tools run by Lift in order to facilitate manual testing.
## Examples
### Bandit Example
This demonstrates Bandit's ability to provide notes on both insecure code and use of disallowed functions/imports.
- `B402` - importing an FTP module instead of a secure data transfer option
- `B101` - using `assert`, which may produce unexpected behavior after compiled to bytecode## Usage
If you have [`nix` installed](https://nixos.wiki/wiki/Nix_Installation_Guide) with flake support, you can have a devlopment shell with the proper tools installed by running `nix develop`. This shell also provides helpful wrappers in the form `-check`, for you to run them with the same commandline arguments as Lift. If you have [`direnv`](https://direnv.net/) set up, there is an `.envrc` that automatically applies the development shell.