<commit_before>#!/usr/bin/env python3
import json
import os
import re
import shutil
import subprocess
import tempfile

ROOT_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
WHEELS_DIR = os.path.join(ROOT_DIR, "wheels")
BUILD_JSON = os.path.join(WHEELS_DIR, "build.json")

TARGETS = ["cryptography", "cffi", "lxml"]
ARCHS = [
    "linux/amd64",
    "linux/386",
    "linux/arm64",
    "linux/arm/v7",
    "linux/arm/v6",
    "linux/ppc64le",
    "linux/s390x",
]
PYTHON_VERSION = "3.8"
ALPINE_VERSION = "3.12"

DOCKERFILE = f"""
FROM docker.io/python:{PYTHON_VERSION}-alpine{ALPINE_VERSION}

RUN apk --no-cache add build-base openssl-dev libxml2-dev libxslt-dev libffi-dev zlib-dev
 
COPY requirements.txt .<commit_msg>Fix lint<commit_after>#!/usr/bin/env python3
import json
import os
import re
import shutil
import subprocess
import tempfile

ROOT_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
WHEELS_DIR = os.path.join(ROOT_DIR, "wheels")
BUILD_JSON = os.path.join(WHEELS_DIR, "build.json")

TARGETS = ["cryptography", "cffi", "lxml"]
ARCHS = [
    "linux/amd64",
    "linux/386",
    "linux/arm64",
    "linux/arm/v7",
    "linux/arm/v6",
    "linux/ppc64le",
    "linux/s390x",
]
PYTHON_VERSION = "3.8"
ALPINE_VERSION = "3.12"

DOCKERFILE = f"""
FROM docker.io/python:{PYTHON_VERSION}-alpine{ALPINE_VERSION}

RUN apk --no-cache add build-base openssl-dev libxml2-dev libxslt-dev libffi-dev zlib-dev

COPY requirements.txt .
{'fraction_non_alphanumeric': 0.15416098226466576, 'fraction_numerical': 0.0286493860845839, 'mean_word_length': 4.334545454545455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7190952', 'n_tokens_mistral': 626, 'n_tokens_neox': 596, 'n_words': 109}