remove upper bounds and unnecessary dependencies

- remove libraries replaced by ruff
- remove upper bounds of dev libraries
This commit is contained in:
Lioman 2023-10-29 13:45:15 +01:00
commit 7e3f10c7f9
2 changed files with 13 additions and 26 deletions

View file

@ -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."""