Skip to content

Commit

Permalink
add pyasyncore / pyasynchat as test deps
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 21, 2024
1 parent 25d458d commit a6beca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ignore = [
"FIX", # Line contains TODO / XXX / ..., consider resolving the issue
"FURB101", # `open` and `read` should be replaced by `Path(x).read_text()`
"FURB103", # `open` and `write` should be replaced by `Path(...).write_bytes(data)`
"FURB113", # Use `x.extend(("foo", "bar"))` instead of repeatedly calling `x.append()`
"INP", # `docs/conf.py` is part of an implicit namespace package. Add an `__init__.py`.
"N801", # Class name `async_chat` should use CapWords convention (ASYNCORE COMPAT)
"N802", # Function name X should be lowercase.
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"pytest-xdist",
"setuptools",
]
if sys.version_info[:2] >= (3, 12):
TEST_DEPS.append("pyasyncore")
TEST_DEPS.append("pyasynchat")

if WINDOWS:
TEST_DEPS.append("pywin32")

Expand Down

0 comments on commit a6beca1

Please sign in to comment.