Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ requires = [
"setuptools-scm>=8.0",
"torch == 2.7.0",
"wheel",
"regex",
"jinja2",
]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import json
import logging
import os
import re
import subprocess
import sys
from pathlib import Path
from shutil import which

import regex as re
import torch
from packaging.version import Version, parse
from setuptools import Extension, setup
Expand Down
3 changes: 3 additions & 0 deletions tools/enforce_regex_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def main() -> int:
if not Path(filepath).exists():
continue

if filepath == "setup.py":
continue

violations = check_file(filepath)
if violations:
print(f"\n❌ {filepath}:")
Expand Down