From 26ac4b6f0fb2932e9ba1d526c5408af603d55f4f Mon Sep 17 00:00:00 2001 From: Avasam Date: Mon, 26 Feb 2024 11:01:08 -0500 Subject: [PATCH] Remove duplicate `# ruff: noqa` (#158) * Remove duplicate `# ruff: noqa` * Update .cirrus.yml * Update .cirrus.yml --------- Co-authored-by: Henry Schreiner --- .cirrus.yml | 4 ++-- src/validate_pyproject/pre_compile/__init__.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 95448bf..9b67ab8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -140,7 +140,7 @@ freebsd_task: <<: *test-template windows_task: - name: test (Windows - 3.9.10) + name: test (Windows - 3.9.13) windows_container: image: "cirrusci/windowsservercore:2019" os_version: 2019 @@ -150,7 +150,7 @@ windows_task: install_script: # Activate long file paths to avoid some errors - ps: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force - - choco install -y --no-progress python3 --version=3.9.10 --params "/NoLockdown" + - choco install -y --no-progress python3 --version=3.9.13 --params "/NoLockdown" - pip install --upgrade certifi - python -m pip install -U pip tox pipx <<: *test-template diff --git a/src/validate_pyproject/pre_compile/__init__.py b/src/validate_pyproject/pre_compile/__init__.py index 0a597ca..d54a341 100644 --- a/src/validate_pyproject/pre_compile/__init__.py +++ b/src/validate_pyproject/pre_compile/__init__.py @@ -117,7 +117,6 @@ def load_licenses() -> Dict[str, str]: "# flake8: noqa", "# pylint: skip-file", "# mypy: ignore-errors", - "# ruff: noqa", "# yapf: disable", "# pylama:skip=1", "\n\n# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code *** \n\n\n",