From 50fae16f23dd882daa1201be29e0d26dff33d1fc Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 20 Jan 2024 06:49:29 +0000 Subject: [PATCH] format.py: don't write bytecode --- format.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/format.py b/format.py index 59fb8f7..8a49f8a 100755 --- a/format.py +++ b/format.py @@ -1,25 +1,24 @@ #!/usr/bin/env python3 +import sys +sys.dont_write_bytecode = True + import argparse import base64 import csv import hashlib +import imb import json import os +import requests import string import subprocess import typing import urllib.parse import xml.etree.ElementTree as ET -import requests -import imb from pathlib import Path from typing import NewType, TypedDict -# A lot of stuff needs to be in the same directory, just chdir -# os.chdir(os.path.dirname(os.path.realpath(__file__))) - - _cache: Path | None = None