ross / requests-futures

Asynchronous Python HTTP Requests for Humans using Futures
Other
2.11k stars 152 forks source link

pytest mark network, pyproject.toml, isort #134

Closed ross closed 1 year ago

ross commented 1 year ago

Add a new pytest mark for tests that use the network, to be used to skip test that hit the network and thus fail in environments w/o out as is the case in https://github.com/ross/requests-futures/issues/132.

Also adds a pyproject.toml, which registers the mark, and has some of my ~standard configs in it. Moves the black formatting details there and while I was messing with it all I went ahead and added isort into the mix.

/cc Fixes https://github.com/ross/requests-futures/issues/132 @kloczek

kloczek commented 1 year ago

Thank you 👍 Tested and it works 😄