diff options
author | Dennis Eriksen <d@ennis.no> | 2023-11-10 09:55:41 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-11-10 09:55:41 +0100 |
commit | 0f791d539e5d870919abb4ad2357c04c2c6b5c41 (patch) | |
tree | d6d8242400fc9d459ac70f38c314c4afa17889ab /README.md | |
parent | trying out new project structure (diff) | |
download | makepass-0f791d539e5d870919abb4ad2357c04c2c6b5c41.tar.gz |
moving python-file to src
so I can add ruff-config and venv without cluttering the main folder
Diffstat (limited to '')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -218,6 +218,18 @@ Perl version. I like this version <3 ### Python I don't really care for python, but here it is. It's pretty slow, but I don't really know Python. It should probably be faster. +To lint and format with `ruff`, `ruff` must first be installed. + +``` +$ cd src/python +$ python3 -m venv venv +$ source venv/bin/activate +$ pip install --upgrade pip +$ pip install ruff +$ ruff check makepass.py +$ ruff format makepass.py +``` + ### Rust Rust-version. It's fast! |