Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCHEMA] Reorganize schema code into a package #892

Merged
merged 38 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b5e745e
Start reorganizing.
tsalo Oct 5, 2021
2bf9b6a
Merge branch 'master' into schema-package
tsalo Oct 5, 2021
2cbcffc
Clean up docstrings.
tsalo Oct 5, 2021
13044ba
Change license to MIT.
tsalo Oct 11, 2021
73e89c5
Fix spelling in versioneer files.
tsalo Oct 11, 2021
4b59f93
Install schemacode in config file.
tsalo Oct 11, 2021
5df0354
Update config.yml
tsalo Oct 11, 2021
5383948
Fix path to schema.
tsalo Oct 11, 2021
f2492f8
Log.
tsalo Oct 11, 2021
4d594f4
Why isn't CircleCI working?
tsalo Oct 11, 2021
2c7db1a
Make loading function more restrictive.
tsalo Oct 11, 2021
a3e7dfe
Move rendering functions into a new module.
tsalo Oct 11, 2021
1a7e713
RF: Use setup.cfg over info.py
effigies Dec 15, 2021
74b5e31
ENH: Link schema code into package
effigies Dec 15, 2021
af516d8
RF: Use packaged schema
effigies Dec 15, 2021
7d9daec
Merge remote-tracking branch 'upstream/master' into schema-package
effigies Dec 15, 2021
fadc12c
MNT: Require schemacode package to build docs
effigies Dec 15, 2021
61b13fe
Fix locations of functions.
tsalo Dec 15, 2021
43c7a37
Add a couple of tests.
tsalo Dec 15, 2021
3b54a61
Draft a couple more tests.
tsalo Dec 15, 2021
376fbcb
Draft Action for schemacode CI.
tsalo Dec 16, 2021
1332c9e
Fix installation.
tsalo Dec 16, 2021
7858106
Update schemacode_ci.yml
tsalo Dec 16, 2021
2e48e7d
Add badge.
tsalo Dec 16, 2021
963ad61
Add schema-related files to the CODEOWNERS file.
tsalo Dec 16, 2021
31bcd19
Run versioneer 0.21 instead of 0.18 and run black.
tsalo Dec 16, 2021
f766804
Add numpy back in as a general dependency.
tsalo Dec 16, 2021
181df00
Apply suggestions from code review
tsalo Dec 18, 2021
2557616
Add path restriction to pull requests too.
tsalo Dec 18, 2021
e19f103
Add license badge.
tsalo Dec 18, 2021
cc5ed8e
Try out linting job.
tsalo Dec 18, 2021
a71a323
Fix name.
tsalo Dec 18, 2021
ce53a66
Don't use the flake8 action.
tsalo Dec 18, 2021
712a1f6
Change working directory to use config.
tsalo Dec 18, 2021
cf9b6b7
Run black on versioneer files.
tsalo Dec 18, 2021
e4d3f08
Fix linting issue.
tsalo Dec 18, 2021
adeeeed
Apply @effigies' suggestions
tsalo Jan 5, 2022
97794d5
Remove unused imports.
tsalo Jan 5, 2022
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 tools/schemacode/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include versioneer.py
3 changes: 3 additions & 0 deletions tools/schemacode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# schemacode

A Python library for working with the BIDS schema.
29 changes: 29 additions & 0 deletions tools/schemacode/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = ["setuptools", "wheel"]

[tool.black]
line-length = 99
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.pytest_cache
| _build
| build
| dist
)/
| get_version.py
| versioneer.py
| schemacode/info.py
| schemacode/_version.py
)
'''

[tool.isort]
profile = "black"
multi_line_output = 3
Loading