Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pre-commit hook for ruff to avoid clashes with latest version of ruff #150

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

abravalheri
Copy link
Contributor

Closes #149.

@bswck
Copy link
Contributor

bswck commented Oct 25, 2024

Projects will most likely need a series of refactors after adopted.

@bswck
Copy link
Contributor

bswck commented Oct 25, 2024

It can turn out @jaraco may want to disable some new rules since the last version.

@jaraco jaraco merged commit 62b6678 into jaraco:main Oct 25, 2024
14 of 16 checks passed
@abravalheri abravalheri deleted the update-ruff branch October 25, 2024 23:34
clrpackages pushed a commit to clearlinux-pkgs/pypi-keyring that referenced this pull request Nov 5, 2024
…sion 25.5.0

Anderson Bravalheri (1):
      Bump pre-commit hook for ruff to avoid clashes with pytest-ruff (jaraco/skeleton#150)

Jamie Beverley (2):
      fix: passing a username not associated to a credential to get_credential for WinVaultKeyring returns None
      remove faulty test assertion (presumably a result of some async dbus thing on linux?)

Jason R. Coombs (8):
      Add news fragment.
      Add news fragment.
      👹 Feed the hobgoblins (delint).
      Updated comment to match new behavior.
      Restore the indentation on the check, keeping the logic in the only place it's reachable (and limiting the diff).
      Unified the Windows.get_password and .get_credential logic through a new _resolve_credential method.
      🧎‍♀️ Genuflect to the types.
      Finalize

Tor Arvid Lund (1):
      Expand user home directory in config
clrpackages pushed a commit to clearlinux-pkgs/pypi-zipp that referenced this pull request Nov 18, 2024
…n 3.21.0

Anderson Bravalheri (1):
      Bump pre-commit hook for ruff to avoid clashes with pytest-ruff (jaraco/skeleton#150)

Jan Hicken (1):
      Skip `zipfile.Path.exists` check in write mode (python/cpython#126576)

Jason R. Coombs (8):
      Sort imports
      Rely on cached_property to cache values on the instance.
      Rely on save_method_args to save method args.
      Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#151)
      Include pyproject.toml in ruff.toml.
      Require Python 3.9 or later now that Python 3.8 is EOL.
      Use extend for proper workaround.
      Finalize
clrpackages pushed a commit to clearlinux-pkgs/pypi-setuptools that referenced this pull request Nov 18, 2024
…version 75.4.0

Anders Theet (1):
      Use minimum requirement for jaraco.functools

Anderson Bravalheri (29):
      Bump pre-commit hook for ruff to avoid clashes with pytest-ruff (jaraco/skeleton#150)
      Bump Python version for `pyright` GHA
      Remove actions on 3.8 for macos
      Fix ruff config
      Bump min Python version in comments for typechecker configs
      Let test for deprecated codepath xfail on macOS
      Mention that type-stubs need to be contained in a package directory.
      Move setuptools._path.StrPath out of the TYPE_CHECKING check (Python 3.9+)
      Add comment explaining the origin of workaround for splituser
      Automatic updates from Ruff for Python 3.9+
      Fix remaining ruff error
      Bump version check in pkg_resources
      Remove 'm' SOABI flag that no longer exists in 3.9+
      Remove old unnecessary workaround for towncrier
      Remove conditional requirement on importlib_resources in favour of importlib.resources
      Update dependency on pyproject-hooks so that it accepts newer versions
      Removed vendored version of importlib_resources
      Add news fragments
      Remove unused vars or mark them explicitly
      Allow user to skip validation of pyproject.toml via env var
      Add news fragment
      Extract convenience wrapper of rmtree to setuptools._shutil for reuse
      Extract common pattern to remove dir if exists to setuptools._shutil
      Attempt to solve typechecking problems
      Ignore some lines for coverage
      Refactor usage of shutil.rmtree in other parts of setuptools
      Add docstring
      Extract test for shutil.rmtree callback to its own file
      Bump version: 75.3.0 → 75.4.0

Avasam (13):
      pkg_resources ANN2 autofixes
      Sync with typeshed
      Consistently using `sys.version_info` as a `NamedTuple`
      Disallow blanket and unused suppressions (PGH, RUF10)
      Add fake __getattribute__ to AbstractSandbox to let type-checkers know it has a bunch of dynamic methods
      setuptools ANN201 autofixes for fully untyped functions
      Re-enable ANN2 for setuptools
      fix mypy failure after multiple merges
      Merge TypedDict from typeshed
      Deprecation warning for setuptools.command._install
      Ruff: lint pytest
      Set Ruff's pytest's parametrize-names-type to default (tuple)
      ANN204 (missing return type for special methods) autofixes

Jason R. Coombs (9):
      Restore expectation that mkpath returns a list of the items it created.
      Remove support for returning the directories created in mkpath, unused.
      Add test capturing missed expectation.
      Correct the order of operations to ensure that failed attempts aren't cached and are thus retried on subsequent operations.
      Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#151)
      Include pyproject.toml in ruff.toml.
      Require Python 3.9 or later now that Python 3.8 is EOL.
      Use extend for proper workaround.
      Add news fragment.

Marc Mueller (3):
      Fix formatting and imports for Python 3.9
      Update vendored packaging version to 24.2
      Fix test

dependabot[bot] (1):
      Update mypy requirement from ==1.12.* to >=1.12,<1.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest version of ruff is pulled into tests but clashes with version in .pre-commit-hooks.yaml
3 participants