File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ requires = [
88 " setuptools-scm>=8.0" ,
99 " torch == 2.7.0" ,
1010 " wheel" ,
11- " regex" ,
1211 " jinja2" ,
1312]
1413build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 55import json
66import logging
77import os
8+ import re
89import subprocess
910import sys
1011from pathlib import Path
1112from shutil import which
1213
13- import regex as re
1414import torch
1515from packaging .version import Version , parse
1616from setuptools import Extension , setup
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ def main() -> int:
5858 if not Path (filepath ).exists ():
5959 continue
6060
61+ if filepath == "setup.py" :
62+ continue
63+
6164 violations = check_file (filepath )
6265 if violations :
6366 print (f"\n ❌ { filepath } :" )
You can’t perform that action at this time.
0 commit comments