[object Object]

← back to Elitis Price 2026

chore: lint (E401 import-splits, F541 fix) on session exec scripts (session close)

77b0e74e979d312b95b2f315682cffb4607229ea · 2026-07-12 10:52:30 -0700 · Steve Abrams

Files touched

Diff

commit 77b0e74e979d312b95b2f315682cffb4607229ea
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Jul 12 10:52:30 2026 -0700

    chore: lint (E401 import-splits, F541 fix) on session exec scripts (session close)
---
 exec/__pycache__/elitis_feed.cpython-314.pyc  | Bin 9820 -> 9831 bytes
 exec/__pycache__/ws3b_bucketB.cpython-314.pyc | Bin 0 -> 6843 bytes
 exec/__pycache__/ws4_cleanup.cpython-314.pyc  | Bin 0 -> 4543 bytes
 exec/__pycache__/ws5_activate.cpython-314.pyc | Bin 0 -> 11677 bytes
 exec/elitis_feed.py                           |   9 ++++++++-
 exec/ws3b_bucketB.py                          |   9 +++++++--
 exec/ws4_cleanup.py                           |   5 ++++-
 exec/ws5_activate.py                          |   7 ++++++-
 8 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/exec/__pycache__/elitis_feed.cpython-314.pyc b/exec/__pycache__/elitis_feed.cpython-314.pyc
index a80331c..9d8c3d1 100644
Binary files a/exec/__pycache__/elitis_feed.cpython-314.pyc and b/exec/__pycache__/elitis_feed.cpython-314.pyc differ
diff --git a/exec/__pycache__/ws3b_bucketB.cpython-314.pyc b/exec/__pycache__/ws3b_bucketB.cpython-314.pyc
new file mode 100644
index 0000000..7e5bfc8
Binary files /dev/null and b/exec/__pycache__/ws3b_bucketB.cpython-314.pyc differ
diff --git a/exec/__pycache__/ws4_cleanup.cpython-314.pyc b/exec/__pycache__/ws4_cleanup.cpython-314.pyc
new file mode 100644
index 0000000..b1488aa
Binary files /dev/null and b/exec/__pycache__/ws4_cleanup.cpython-314.pyc differ
diff --git a/exec/__pycache__/ws5_activate.cpython-314.pyc b/exec/__pycache__/ws5_activate.cpython-314.pyc
new file mode 100644
index 0000000..0016d91
Binary files /dev/null and b/exec/__pycache__/ws5_activate.cpython-314.pyc differ
diff --git a/exec/elitis_feed.py b/exec/elitis_feed.py
index 33f1c97..cd50982 100644
--- a/exec/elitis_feed.py
+++ b/exec/elitis_feed.py
@@ -11,7 +11,14 @@ Pipeline:
 
 Real brand domain is elitis.fr (NOT elitis.com = an IT consultancy).
 Images come from backoffice.elitis.fr/media/cache/resolve/original/... (public)."""
-import sys, os, re, json, subprocess, time, urllib.request, unicodedata
+import sys
+import os
+import re
+import json
+import subprocess
+import time
+import urllib.request
+import unicodedata
 
 HERE = os.path.dirname(__file__)
 ROOT = os.path.join(HERE, "..")
diff --git a/exec/ws3b_bucketB.py b/exec/ws3b_bucketB.py
index 8a518ac..43c572c 100644
--- a/exec/ws3b_bucketB.py
+++ b/exec/ws3b_bucketB.py
@@ -11,7 +11,12 @@ Strategy (cheaper than re-scraping, per FOLLOWUP_scrape_403.md):
 
 Reuses ws3_drafts.create_one (same DRAFT + Needs-Image + variant recipe). $0.
 Steve-approved via AskUserQuestion 2026-07-11 (option C)."""
-import sys, os, csv, json, unicodedata, difflib
+import sys
+import os
+import csv
+import json
+import unicodedata
+import difflib
 
 sys.path.insert(0, os.path.dirname(__file__))
 sys.path.insert(0, os.path.join(os.path.dirname(__file__), "lib"))
@@ -69,7 +74,7 @@ def build_bucketB():
 if __name__ == "__main__":
     high, fuzzy, miss = build_bucketB()
     if "--report" in sys.argv or "--build" not in sys.argv:
-        print(f"Bucket B recovery (accent/case/spacing + fuzzy):")
+        print("Bucket B recovery (accent/case/spacing + fuzzy):")
         print(f"  HIGH  (normalized exact) colorways: {len(high)}")
         print(f"  FUZZY (>=0.90 close)      colorways: {len(fuzzy)}")
         print(f"  still-missing distinct patterns    : {len(miss)} -> route to scrape")
diff --git a/exec/ws4_cleanup.py b/exec/ws4_cleanup.py
index 9dec3a4..70a5db6 100644
--- a/exec/ws4_cleanup.py
+++ b/exec/ws4_cleanup.py
@@ -5,7 +5,10 @@
    archive and collides on SKU DWEL-142747 with the legit 'Frivole' VP-1036-44.
 Idempotent (checks current state first). $0 (Shopify Admin API is free).
 Steve-approved via AskUserQuestion 2026-07-11 (options A + B)."""
-import sys, os, csv, datetime
+import sys
+import os
+import csv
+import datetime
 sys.path.insert(0, "lib")
 from shopify import gql
 
diff --git a/exec/ws5_activate.py b/exec/ws5_activate.py
index fe6625a..31970cc 100644
--- a/exec/ws5_activate.py
+++ b/exec/ws5_activate.py
@@ -9,7 +9,12 @@ accent-normalized pattern:
   2. productCreateMedia(originalSource=CDN url) -> wait until READY.
   3. strip 'Needs-Image' tag + set status ACTIVE.
 Idempotent: skips drafts that already have an image or are already ACTIVE."""
-import sys, os, csv, json, time, unicodedata
+import sys
+import os
+import csv
+import json
+import time
+import unicodedata
 sys.path.insert(0, "lib")
 from shopify import gql
 

← 4a93e84 WS5: attach feed images + activate 357 drafts live (356 batc  ·  back to Elitis Price 2026  ·  (newest)