Skip to main content

Switch to using ruff in my ts script

ID
f0a8295
date
2024-06-02 09:07:12+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
5d325ea
message
Switch to using `ruff` in my `ts` script

For https://github.com/alexwlchan/alexwlchan/issues/9
changed files
1 file, 2 additions, 2 deletions

Changed files

flickr/ts (243) → flickr/ts (202)

diff --git a/flickr/ts b/flickr/ts
index af4c515..25859c8 100755
--- a/flickr/ts
+++ b/flickr/ts
@@ -5,8 +5,8 @@ set -o nounset
 
 export FLICKR_API_KEY=$(keyring get flickr_api key)
 
-black .
-flake8 --exclude .venv --ignore=E501,E203,W503 --extend-select=W504
+ruff check .
+ruff format --check .
 
 mypy src tests