Skip to content

Commit fea49a0

Browse files
authored
fix(packaging): use SPDX license config, other small maintenance (#172)
1 parent d7b9915 commit fea49a0

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @rapidsai/packaging-codeowners

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ repos:
1515
- id: debug-statements
1616
- id: requirements-txt-fixer
1717
- repo: https://github.com/pre-commit/mirrors-mypy
18-
rev: 'v1.18.2'
18+
rev: 'v1.19.0'
1919
hooks:
2020
- id: mypy
2121
additional_dependencies: [types-PyYAML]
2222
args: ["--config-file=pyproject.toml", "src/", "docs/"]
2323
pass_filenames: false
2424
- repo: https://github.com/asottile/pyupgrade
25-
rev: 'v3.20.0'
25+
rev: 'v3.21.2'
2626
hooks:
2727
- id: pyupgrade
2828
args:
2929
- --py39-plus
3030
- repo: https://github.com/python-jsonschema/check-jsonschema
31-
rev: 0.34.0
31+
rev: 0.35.0
3232
hooks:
3333
- id: check-metaschema
3434
files: ^src/rapids_dependency_file_generator/schema.json$
@@ -37,7 +37,7 @@ repos:
3737
args: ["--schemafile", "src/rapids_dependency_file_generator/schema.json"]
3838
- id: check-github-workflows
3939
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: v0.13.3
40+
rev: v0.14.8
4141
hooks:
4242
- id: ruff
4343
files: src/.*$

pyproject.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools"]
2+
requires = ["setuptools>=77.0.0"]
33
build-backend = "setuptools.build_meta"
44

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

4645
[tool.ruff.lint]
47-
select = ["E", "F", "W", "I", "D"]
46+
select = [
47+
# pydocstyle
48+
"D",
49+
# pycodestyle (errors)
50+
"E",
51+
# pyflakes
52+
"F",
53+
# isort
54+
"I",
55+
# pycodestyle (warnings)
56+
"W",
57+
]
4858

4959
[tool.ruff.lint.pydocstyle]
5060
convention = "numpy"

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ requirements:
1515
host:
1616
- python >=3.9
1717
- python-build
18-
- setuptools
18+
- setuptools >=77.0.0
1919
run:
2020
- python >=3.9
2121
- pyyaml

0 commit comments

Comments
 (0)