Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:

# Code formatting and linting
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.12.1"
rev: "v2.18.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/pycqa/flake8
Expand All @@ -29,11 +29,11 @@ repos:
- id: flake8
args: [--max-line-length=120]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
rev: 26.3.1
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 7.0.0
rev: 8.0.1
hooks:
- id: isort
exclude: migrations
Expand Down
51 changes: 23 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ name = "requirements-detector"
version = "1.5.0"
authors = [ "Landscape.io <[email protected]>" ]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: Unix',
'Topic :: Software Development :: Quality Assurance',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'License :: OSI Approved :: MIT License',
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Topic :: Software Development :: Quality Assurance",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
]
license = "MIT"
keywords = [ "python", "requirements detector" ]
Expand All @@ -29,21 +29,16 @@ packages = [
include = [
"c2cgeoform/py.typed",
]

[tool.poetry.dependencies]
python = ">=3.10,<4.0"
astroid = "^4.0"
packaging = ">=21.3"
tomli = { version = "^2.2.1", python = "<3.11" }
semver = "^3.0.0"

[tool.poetry.dev-dependencies]
tox = "^3.24.5"
pre-commit = "^4.2.0"
pytest = "^6.2.4"
twine = "^6.1.0"
coverage = "^5.5"
pytest-benchmark = "^3.4.1"
pytest-cov = "^2.12.1"
[tool.poetry.scripts]
detect-requirements = 'requirements_detector.run:run'
dependencies.python = ">=3.10,<4.0"
dependencies.astroid = "^4.0"
dependencies.packaging = ">=21.3"
dependencies.tomli = { version = "^2.2.1", python = "<3.11" }
dependencies.semver = "^3.0.0"
dev-dependencies.tox = "^3.24.5"
dev-dependencies.pre-commit = "^4.2.0"
dev-dependencies.pytest = "^6.2.4"
dev-dependencies.twine = "^6.1.0"
dev-dependencies.coverage = "^5.5"
dev-dependencies.pytest-benchmark = "^3.4.1"
dev-dependencies.pytest-cov = "^2.12.1"
scripts.detect-requirements = "requirements_detector.run:run"
Loading