Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaeger committed Sep 9, 2024
1 parent 6a90a54 commit 1ff58a1
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: '0.28.4'
rev: '0.29.2'
hooks:
- id: check-readthedocs

Expand All @@ -24,11 +24,11 @@ repos:
# - id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.0'
rev: 'v0.6.4'
hooks:
- id: ruff
args: [--config, pyproject.toml, --fix, --exit-non-zero-on-fix]
- id: ruff_format
- id: ruff-format

- repo: https://github.com/python-poetry/poetry
rev: '1.8.0'
Expand Down
104 changes: 103 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,12 @@ pydesigner = "pydesigner.main:main"

[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0, <8.0.0"
pytest-cov = "^5.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 120
target-version = ["py311", "py312"]
exclude = "docs/"

[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
Expand Down Expand Up @@ -89,10 +85,10 @@ exclude = [
"node_modules",
"venv",
"docs",
"tests",
"setup.py",
]

# Same as Black
line-length = 120

# Allow unused variables when underscore-prefixed.
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
coverage[toml]==7.6.1 ; python_version >= "3.11" and python_version < "4.0"
iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "4.0"
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0"
pluggy==1.3.0 ; python_version >= "3.11" and python_version < "4.0"
pytest-cov==5.0.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==7.4.4 ; python_version >= "3.11" and python_version < "4.0"
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,18 @@ numpy==1.26.3 ; python_version >= "3.11" and python_version < "4.0"
ordered-set==4.1.0 ; python_version >= "3.11" and python_version < "4.0"
osqp==0.6.3 ; python_version >= "3.11" and python_version < "4.0"
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0"
pandas==2.2.2 ; python_version >= "3.11" and python_version < "4.0"
pillow==10.2.0 ; python_version >= "3.11" and python_version < "4.0"
pybind11==2.11.1 ; python_version >= "3.11" and python_version < "4.0"
pydantic-core==2.18.1 ; python_version >= "3.11" and python_version < "4.0"
pydantic==2.7.0 ; python_version >= "3.11" and python_version < "4.0"
pyparsing==3.1.1 ; python_version >= "3.11" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.11" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.11" and python_version < "4.0"
qdldl==0.1.7.post0 ; python_version >= "3.11" and python_version < "4.0"
scipy==1.11.4 ; python_version >= "3.11" and python_version < "4.0"
scs==3.2.4.post1 ; python_version >= "3.11" and python_version < "4.0"
seaborn==0.13.2 ; python_version >= "3.11" and python_version < "4.0"
setuptools-scm==8.0.4 ; python_version >= "3.11" and python_version < "4.0"
setuptools==69.0.3 ; python_version >= "3.11" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
tqdm==4.66.1 ; python_version >= "3.11" and python_version < "4.0"
trx-python==0.2.9 ; python_version >= "3.11" and python_version < "4.0"
typing-extensions==4.9.0 ; python_version >= "3.11" and python_version < "4.0"
tzdata==2024.1 ; python_version >= "3.11" and python_version < "4.0"

0 comments on commit 1ff58a1

Please sign in to comment.