mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
remove upper bounds and unnecessary dependencies
- remove libraries replaced by ruff - remove upper bounds of dev libraries
This commit is contained in:
parent
bfb2587697
commit
7e3f10c7f9
2 changed files with 13 additions and 26 deletions
10
tasks.py
10
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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue