diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea0b36d2d4..0974a4da4e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,6 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: no-commit-to-branch - args: [--branch, main] - id: requirements-txt-fixer exclude: ^requirements-dev\.txt$ - id: trailing-whitespace @@ -69,12 +68,6 @@ repos: files: ^conda-envs/environment-dev.yml$ language: python name: Generate pip dependency from conda - - id: no-relative-imports - name: No relative imports - entry: from \.[\.\w]* import - types: [python] - language: pygrep - exclude: (?x)(pymc/_version.py|versioneer.py) - id: no-internal-links name: Check no links that should be cross-references are in the docs description: >- diff --git a/pyproject.toml b/pyproject.toml index 3c10876d63..511dbccdcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ extend-exclude = ["_version.py"] docstring-code-format = true [tool.ruff.lint] -select = ["D", "E", "F", "I", "UP", "W", "RUF", "T20"] +select = ["D", "E", "F", "I", "UP", "W", "RUF", "T20", "TID"] ignore = [ "E501", "F841", # Local variable name is assigned to but never used