Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @rapidsai/packaging-codeowners
Copy link
Member Author

@jameslamb jameslamb Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO before merging:

  • agree on the rules here
  • get any necessary teams added as contributors

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see this change. +1!

8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ repos:
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.18.2'
rev: 'v1.19.0'
hooks:
- id: mypy
additional_dependencies: [types-PyYAML]
args: ["--config-file=pyproject.toml", "src/", "docs/"]
pass_filenames: false
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.20.0'
rev: 'v3.21.2'
hooks:
- id: pyupgrade
args:
- --py39-plus
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.34.0
rev: 0.35.0
hooks:
- id: check-metaschema
files: ^src/rapids_dependency_file_generator/schema.json$
Expand All @@ -37,7 +37,7 @@ repos:
args: ["--schemafile", "src/rapids_dependency_file_generator/schema.json"]
- id: check-github-workflows
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.3
rev: v0.14.8
hooks:
- id: ruff
files: src/.*$
Expand Down
18 changes: 14 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=77.0.0"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -13,9 +13,8 @@ authors = [
urls = { homepage = "https://github.com/rapidsai/dependency-file-generator" }
description = "Tool for generating RAPIDS environment files"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
license = "Apache-2.0"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9"
Expand Down Expand Up @@ -44,7 +43,18 @@ ignore_missing_imports = true
line-length = 120

[tool.ruff.lint]
select = ["E", "F", "W", "I", "D"]
select = [
# pydocstyle
"D",
# pycodestyle (errors)
"E",
# pyflakes
"F",
# isort
"I",
# pycodestyle (warnings)
"W",
]

[tool.ruff.lint.pydocstyle]
convention = "numpy"
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ requirements:
host:
- python >=3.9
- python-build
- setuptools
- setuptools >=77.0.0
run:
- python >=3.9
- pyyaml
Expand Down