Skip to content

Commit

Permalink
Pin Ruff to a lower bound rather than pinning pytest-ruff to an upper…
Browse files Browse the repository at this point in the history
…-bound
  • Loading branch information
Avasam committed Aug 21, 2024
1 parent 0588af0 commit c2903a4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test = [

# local
"virtualenv>=13.0.0",
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
"pip>=19.1", # For proper file:// URLs support.
"packaging>=23.2",
"jaraco.envs>=2.2",
Expand All @@ -64,17 +64,10 @@ test = [
"importlib_metadata",
"pytest-subprocess",

# require newer pytest-ruff than upstream for pypa/setuptools#4368
# also exclude cygwin for pypa/setuptools#3921
'pytest-ruff >= 0.3.2; sys_platform != "cygwin"',

# workaround for pypa/setuptools#4333
"pyproject-hooks!=1.1",

"jaraco.test",

# workaround for businho/pytest-ruff#28
'pytest-ruff < 0.4; platform_system == "Windows"',
]

doc = [
Expand Down Expand Up @@ -118,8 +111,14 @@ core = [
]

check = [
# Upstream
"pytest-checkdocs >= 2.4",
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",

# local

# workaround for businho/pytest-ruff#28
"ruff >= 0.5.2; sys_platform != 'cygwin'",
]

cover = [
Expand Down

0 comments on commit c2903a4

Please sign in to comment.