Skip to content

Commit

Permalink
Update dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vdusek committed Oct 10, 2023
1 parent 9766f80 commit a884003
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
37 changes: 18 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name = "apify"
version = "1.1.6"
description = "Apify SDK for Python"
readme = "README.md"
license = {text = "Apache Software License"}
authors = [
{name = "Apify Technologies s.r.o.", email = "[email protected]"},
]
license = { text = "Apache Software License" }
authors = [{ name = "Apify Technologies s.r.o.", email = "[email protected]" }]
keywords = ["apify", "sdk", "actor", "scraping", "automation"]

classifiers = [
Expand Down Expand Up @@ -40,34 +38,35 @@ dependencies = [

[project.optional-dependencies]
dev = [
"autopep8 ~= 2.0.2",
"build ~= 0.10.0",
"filelock ~= 3.12.0",
"flake8 ~= 6.0.0",
"flake8-bugbear ~= 23.5.9",
"flake8-comprehensions ~= 3.12.0",
"autopep8 ~= 2.0.4",
"build ~= 1.0.3",
"filelock ~= 3.12.4",
"flake8 ~= 6.1.0",
"flake8-bugbear ~= 23.9.16",
"flake8-commas ~= 2.1.0; python_version < '3.12'",
"flake8-comprehensions ~= 3.14.0",
"flake8-datetimez ~= 20.10.0",
"flake8-docstrings ~= 1.7.0",
"flake8-encodings ~= 0.5.0",
"flake8-isort ~= 6.0.0",
"flake8-noqa ~= 1.3.1",
"flake8-isort ~= 6.1.0",
"flake8-noqa ~= 1.3.1; python_version < '3.12'",
"flake8-pytest-style ~= 1.7.2",
"flake8-quotes ~= 3.3.2",
"flake8-simplify ~= 0.20.0",
"flake8-quotes ~= 3.3.2; python_version < '3.12'",
"flake8-simplify ~= 0.21.0",
"flake8-unused-arguments ~= 0.0.13",
"isort ~= 5.12.0",
"mypy ~= 1.3.0",
"mypy ~= 1.5.1",
"pep8-naming ~= 0.13.3",
"pre-commit ~= 3.3.2",
"pre-commit ~= 3.4.0",
"pydoc-markdown ~= 4.8.2",
"pytest ~= 7.3.1",
"pytest ~= 7.4.2",
"pytest-asyncio ~= 0.21.0",
"pytest-only ~= 2.0.0",
"pytest-timeout ~= 2.1.0",
"pytest-timeout ~= 2.2.0",
"pytest-xdist ~= 3.3.1",
"respx ~= 0.20.1",
"twine ~= 4.0.2",
"types-aiofiles ~= 23.1.0.3",
"types-aiofiles ~= 23.2.0.0",
"types-colorama ~= 0.4.15.11",
"types-psutil ~= 5.9.5.12",
]
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/actor/test_actor_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ async def test_actor_new_client_config(self, monkeypatch: pytest.MonkeyPatch) ->
await my_actor.init()

client = my_actor.new_client()
assert type(client) == ApifyClientAsync
assert isinstance(client, ApifyClientAsync)
assert client.token == token

passed_token = 'my-passed-token'
client_with_token = my_actor.new_client(token=passed_token)
assert type(client_with_token) == ApifyClientAsync
assert isinstance(client_with_token, ApifyClientAsync)
assert client_with_token.token == passed_token

await my_actor.exit()
Expand Down

0 comments on commit a884003

Please sign in to comment.