aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-11-10 09:55:41 +0100
committerDennis Eriksen <d@ennis.no>2023-11-10 09:55:41 +0100
commit0f791d539e5d870919abb4ad2357c04c2c6b5c41 (patch)
treed6d8242400fc9d459ac70f38c314c4afa17889ab /README.md
parenttrying out new project structure (diff)
downloadmakepass-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.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8082199..3cea926 100644
--- a/README.md
+++ b/README.md
@@ -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!