From 031d020a76045c30e64ecfd8471c67b0874b3f12 Mon Sep 17 00:00:00 2001 From: Stewart Boogert Date: Fri, 4 Aug 2023 21:01:58 +0100 Subject: [PATCH 1/2] pyg4ometry : (CI/CD) update RUFF version and ignore RUF012 --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7b1c09b6..5b322ca38 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: additional_dependencies: [black==23.3.0] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.272" + rev: "v0.0.276" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/pyproject.toml b/pyproject.toml index 9dcd89a03..3abf06b6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,10 +125,12 @@ select = [ "NPY", # NumPy specific rules # "PD", # pandas-vet ] + extend-ignore = [ "PLR", # Design related pylint codes "E501", # Line too long "PT004", # Use underscore for non-returning fixture (use usefixture instead) + "RUF012", # Mutable class attributes should be annotated with typing.ClassVar ] target-version = "py37" src = ["src"] From 29ee9f7e27d7e8c2e6ef0832325811e08d288347 Mon Sep 17 00:00:00 2001 From: Stewart Boogert Date: Fri, 4 Aug 2023 20:58:23 +0100 Subject: [PATCH 2/2] pyg4ometry : (CI/CD) temporary removal of arm64 build --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3abf06b6d..9d8a3a2eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -154,5 +154,5 @@ manylinux-x86_64-image = "g4edge/pyg4ometry-manylinux2014_x86_64:latest" archs = ["auto"] [tool.cibuildwheel.macos] -archs = ["x86_64", "arm64"] +archs = ["x86_64"] #, "arm64"] before-all = ".github/bin/install-deps-macos.sh"