[MAINT] switch bidsschematools to pyproject.toml#1948
[MAINT] switch bidsschematools to pyproject.toml#1948effigies merged 10 commits intobids-standard:masterfrom
Conversation
tools/schemacode/pyproject.toml
Outdated
| dependencies = [ | ||
| "click", | ||
| "pyyaml", | ||
| "importlib_resources; python_version < '3.9'", |
There was a problem hiding this comment.
I guess this can go now, no?
|
I also think it's okay to keep using |
tried and it was a bit easier |
|
This is good to go for me |
.pre-commit-config.yaml
Outdated
| rev: v2.14.0 | ||
| hooks: | ||
| - id: pretty-format-toml | ||
| args: [--autofix, --indent, '4'] |
There was a problem hiding this comment.
I don't think sorting leads to a very readable pyproject.toml, where I think there are some rough importance levels that are good to indicate (e.g. "name" should be the first thing in project metadata).
| args: [--autofix, --indent, '4'] | |
| args: [--autofix, --indent, '4', --no-sort] |
There was a problem hiding this comment.
good with me
defo not a hill I want to die on
There was a problem hiding this comment.
forgot to commit this one
tools/schemacode/pyproject.toml
Outdated
| [tool.setuptools.dynamic] | ||
| version = {file = "bidsschematools/data/schema/SCHEMA_VERSION"} | ||
|
|
||
| [tool.setuptools.package-data] | ||
| bidsschematools = [ | ||
| "data/metaschema.json", | ||
| "data/schema/BIDS_VERSION", | ||
| "data/schema/SCHEMA_VERSIO", | ||
| "data/schema/**/*.yaml", | ||
| "tests/data/**/*", | ||
| "tests/data/**/.bidsignore" | ||
| ] | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| include = ["bidsschematools*"] |
There was a problem hiding this comment.
IMO packager config should come immediately after the [project] tables.
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
…ttype * commit 'v1.10.0-35-g5f7004819': (218 commits) Include entity-less "scans.json" into an example of inheritance principle (bids-standard#1945) fix(checks): Enforce timing mutual exclusions on BOLD/ASL data only (bids-standard#1969) refactor contributing (bids-standard#1965) [pre-commit.ci] pre-commit autoupdate (bids-standard#1967) [SCHEMA] Allow physio files for anat datatype (bids-standard#1961) [pre-commit.ci] pre-commit autoupdate Add an empty line in hope to get table rendered properly in "Ordering rules" section (bids-standard#1953) schema: add check for duplicate READMEs (bids-standard#1952) [MAINT] switch bidsschematools to pyproject.toml (bids-standard#1948) fix(schema): Disable TaskName check for channels and markers files Permit and warn on task/acquisition/run for electrodes and coordsystems [FIX] Allow (but discourage) task entity for coordsystem.json fix(schema): Limit MRI metadata checks to NIfTIs fix: Only check for sorted times in arrays py3.13 (bids-standard#1947) [pre-commit.ci] pre-commit autoupdate (bids-standard#1946) [FIX] Update changelog links to avoid redirects (bids-standard#1944) [ENH] Update DWI suffixes to include most common scanner derivatives (bids-standard#1864) [pre-commit.ci] pre-commit autoupdate [MAINT] Update Release_Protocol.md ...
Use pyproject.toml for config and package metadata.