diff --git a/pyproject.toml b/pyproject.toml index 064dca5c9..15df2902a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,27 +76,24 @@ test = "invoke tests" [tool.pdm.dev-dependencies] dev = [ - "BeautifulSoup4<5.0,>=4.9", + "BeautifulSoup4>=4.9", "jinja2~=3.1.2", - "lxml<5.0,>=4.3", + "lxml>=4.3", "markdown~=3.4.3", - "typogrify<3.0,>=2.0", - "sphinx<6.0,>=5.1", + "typogrify>=2.0", + "sphinx>=5.1", "furo==2023.03.27", - "livereload<3.0,>=2.6", - "psutil<6.0,>=5.7", + "livereload>=2.6", + "psutil>=5.7", "pygments~=2.15", - "pytest<8.0,>=7.1", - "pytest-cov<5.0,>=4.0", - "pytest-sugar<1.0.0,>=0.9.5", - "pytest-xdist<3.0,>=2.0", - "tox<4.0,>=3.13", - "flake8<4.0,>=3.8", - "flake8-import-order<1.0.0,>=0.18.1", - "invoke<3.0,>=2.0", - "isort<6.0,>=5.2", + "pytest>=7.1", + "pytest-cov>=4.0", + "pytest-sugar>=0.9.5", + "pytest-xdist>=2.0", + "tox>=3.13", + "invoke>=2.0", "black>=23.10.1", - "ruff>=0.1.3,<1.0.0", + "ruff>=0.1.3", "tomli;python_version<'3.11'", ] diff --git a/tasks.py b/tasks.py index aba42dccf..9dd0eb5f2 100644 --- a/tasks.py +++ b/tasks.py @@ -62,16 +62,6 @@ def black(c, check=False, diff=False): c.run(f"{VENV_BIN}/black {check_flag} {diff_flag} {PKG_PATH} tasks.py", pty=PTY) -@task -def isort(c, check=False, diff=False): - check_flag, diff_flag = "", "" - if check: - check_flag = "-c" - if diff: - diff_flag = "--diff" - c.run(f"{VENV_BIN}/isort {check_flag} {diff_flag} .", pty=PTY) - - @task def ruff(c, fix=False, diff=False): """Run Ruff to ensure code meets project standards."""