dimcat 3.2.0__tar.gz → 3.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dimcat-3.2.0 → dimcat-3.3.0}/.coveragerc +28 -28
- {dimcat-3.2.0 → dimcat-3.3.0}/.github/workflows/ci.yml +28 -28
- {dimcat-3.2.0 → dimcat-3.3.0}/.github/workflows/release-please.yml +20 -20
- {dimcat-3.2.0 → dimcat-3.3.0}/.gitignore +59 -59
- {dimcat-3.2.0 → dimcat-3.3.0}/.gitmodules +6 -6
- {dimcat-3.2.0 → dimcat-3.3.0}/.isort.cfg +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/.pre-commit-config.yaml +61 -60
- {dimcat-3.2.0 → dimcat-3.3.0}/.readthedocs.yml +29 -29
- {dimcat-3.2.0 → dimcat-3.3.0}/AUTHORS.rst +8 -8
- {dimcat-3.2.0 → dimcat-3.3.0}/CONTRIBUTING.rst +419 -460
- {dimcat-3.2.0 → dimcat-3.3.0}/COPYING +621 -621
- {dimcat-3.2.0 → dimcat-3.3.0}/PKG-INFO +105 -105
- {dimcat-3.2.0 → dimcat-3.3.0}/README.rst +87 -87
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/CHANGELOG.md +390 -362
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/LICENSE.rst +736 -736
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/Makefile +29 -29
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/_static/.gitignore +1 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/authors.rst +2 -2
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/conf.py +316 -316
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/contributing.rst +1 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/diagrams/PipelineStep.uml +40 -40
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/environment.yml +30 -30
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/imprint.rst +11 -11
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/index.html +1 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/index.rst +37 -37
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/data.md +243 -243
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/dcml_corpora.datapackage.json +1274 -1274
- dimcat-3.3.0/docs/manual/developers.md +250 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/errors.md +60 -60
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/index.rst +11 -10
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/quick.md +190 -190
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/notebooks.rst +12 -12
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/requirements.txt +1 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/tutorial.ipynb +532 -532
- {dimcat-3.2.0 → dimcat-3.3.0}/pyproject.toml +8 -8
- {dimcat-3.2.0 → dimcat-3.3.0}/setup.cfg +95 -94
- {dimcat-3.2.0 → dimcat-3.3.0}/setup.py +21 -21
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/__init__.py +39 -39
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/base.py +1210 -1202
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/cli.py +274 -274
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/__init__.py +5 -5
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/base.py +166 -166
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/catalogs/__init__.py +7 -7
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/catalogs/base.py +310 -310
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/catalogs/inputs.py +29 -29
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/catalogs/outputs.py +36 -36
- {dimcat-3.2.0/src/dimcat/steps → dimcat-3.3.0/src/dimcat/data/datasets}/__init__.py +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/datasets/base.py +476 -484
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/datasets/processed.py +163 -163
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/packages/__init__.py +7 -7
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/packages/base.py +1538 -1538
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/packages/dc.py +123 -123
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/packages/score.py +22 -22
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/__init__.py +27 -27
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/base.py +1421 -1420
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/dc.py +2251 -2251
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/facets.py +874 -867
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/features.py +1262 -1262
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/results.py +4134 -4133
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/resources/utils.py +1890 -1884
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/data/utils.py +138 -138
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/dc_exceptions.py +521 -521
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/dc_warnings.py +33 -33
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/enums.py +54 -54
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/plotting.py +1234 -1051
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/settings.ini +58 -58
- {dimcat-3.2.0/src/dimcat/steps/pipelines → dimcat-3.3.0/src/dimcat/steps}/__init__.py +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/__init__.py +8 -8
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/base.py +267 -266
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/counters.py +242 -242
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/phrases.py +225 -225
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/prevalence.py +171 -171
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/analyzers/proportions.py +79 -79
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/base.py +539 -537
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/extractors/__init__.py +7 -7
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/extractors/base.py +66 -66
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/filters/__init__.py +7 -7
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/filters/annotations.py +37 -37
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/filters/base.py +76 -76
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/groupers/__init__.py +8 -8
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/groupers/annotations.py +110 -110
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/groupers/base.py +376 -376
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/groupers/columns.py +68 -68
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/groupers/metadata.py +59 -59
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/loaders/__init__.py +7 -7
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/loaders/base.py +739 -739
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/loaders/m21.py +493 -493
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/loaders/musescore.py +216 -216
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/loaders/utils.py +129 -129
- {dimcat-3.2.0/src/dimcat/data/datasets → dimcat-3.3.0/src/dimcat/steps/pipelines}/__init__.py +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/pipelines/base.py +197 -197
- dimcat-3.3.0/src/dimcat/steps/slicers/__init__.py +10 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/slicers/base.py +70 -70
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/steps/slicers/feature_dimensions.py +162 -162
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat/utils.py +588 -588
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/PKG-INFO +105 -105
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/SOURCES.txt +1 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/not-zip-safe +1 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/requires.txt +2 -1
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/__init__.py +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/app_tests.py +207 -207
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/conftest.py +623 -623
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/debugging.py +53 -53
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/enums.py +40 -40
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/loggers.py +42 -42
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/pytest.ini +3 -3
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_base.py +339 -334
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_dataset.py +30 -30
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_feature.py +8 -8
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_grouper.py +20 -20
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_loaders.py +155 -155
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_package.py +188 -188
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_pipeline.py +43 -43
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_resource.py +576 -576
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_settings.py +46 -46
- {dimcat-3.2.0 → dimcat-3.3.0}/tests/test_visualization_app.py +212 -211
- {dimcat-3.2.0 → dimcat-3.3.0}/tox.ini +83 -83
- dimcat-3.2.0/src/dimcat/steps/slicers/__init__.py +0 -5
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/.nojekyll +0 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/docs/manual/dcml_corpora.zip +0 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/dependency_links.txt +0 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/entry_points.txt +0 -0
- {dimcat-3.2.0 → dimcat-3.3.0}/src/dimcat.egg-info/top_level.txt +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# .coveragerc to control coverage.py
|
|
2
|
-
[run]
|
|
3
|
-
branch = True
|
|
4
|
-
source = dimcat
|
|
5
|
-
# omit = bad_file.py
|
|
6
|
-
|
|
7
|
-
[paths]
|
|
8
|
-
source =
|
|
9
|
-
src/
|
|
10
|
-
*/site-packages/
|
|
11
|
-
|
|
12
|
-
[report]
|
|
13
|
-
# Regexes for lines to exclude from consideration
|
|
14
|
-
exclude_lines =
|
|
15
|
-
# Have to re-enable the standard pragma
|
|
16
|
-
pragma: no cover
|
|
17
|
-
|
|
18
|
-
# Don't complain about missing debug-only code:
|
|
19
|
-
def __repr__
|
|
20
|
-
if self\.debug
|
|
21
|
-
|
|
22
|
-
# Don't complain if tests don't hit defensive assertion code:
|
|
23
|
-
raise AssertionError
|
|
24
|
-
raise NotImplementedError
|
|
25
|
-
|
|
26
|
-
# Don't complain if non-runnable code isn't run:
|
|
27
|
-
if 0:
|
|
28
|
-
if __name__ == .__main__.:
|
|
1
|
+
# .coveragerc to control coverage.py
|
|
2
|
+
[run]
|
|
3
|
+
branch = True
|
|
4
|
+
source = dimcat
|
|
5
|
+
# omit = bad_file.py
|
|
6
|
+
|
|
7
|
+
[paths]
|
|
8
|
+
source =
|
|
9
|
+
src/
|
|
10
|
+
*/site-packages/
|
|
11
|
+
|
|
12
|
+
[report]
|
|
13
|
+
# Regexes for lines to exclude from consideration
|
|
14
|
+
exclude_lines =
|
|
15
|
+
# Have to re-enable the standard pragma
|
|
16
|
+
pragma: no cover
|
|
17
|
+
|
|
18
|
+
# Don't complain about missing debug-only code:
|
|
19
|
+
def __repr__
|
|
20
|
+
if self\.debug
|
|
21
|
+
|
|
22
|
+
# Don't complain if tests don't hit defensive assertion code:
|
|
23
|
+
raise AssertionError
|
|
24
|
+
raise NotImplementedError
|
|
25
|
+
|
|
26
|
+
# Don't complain if non-runnable code isn't run:
|
|
27
|
+
if 0:
|
|
28
|
+
if __name__ == .__main__.:
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
name: Run tests
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- development
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- development
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
test:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v3
|
|
17
|
-
with:
|
|
18
|
-
submodules: 'recursive'
|
|
19
|
-
- name: Setup Python
|
|
20
|
-
uses: actions/setup-python@v4
|
|
21
|
-
with:
|
|
22
|
-
python-version: 3.11
|
|
23
|
-
- name: Install tox
|
|
24
|
-
run: pip install tox
|
|
25
|
-
- name: Run tests
|
|
26
|
-
# As of now, running tox without environment runs the tests w.r.t the test matrix defined in
|
|
27
|
-
# tox.ini.
|
|
28
|
-
run: tox -e py311
|
|
1
|
+
name: Run tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- development
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- development
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
with:
|
|
18
|
+
submodules: 'recursive'
|
|
19
|
+
- name: Setup Python
|
|
20
|
+
uses: actions/setup-python@v4
|
|
21
|
+
with:
|
|
22
|
+
python-version: 3.11
|
|
23
|
+
- name: Install tox
|
|
24
|
+
run: pip install tox
|
|
25
|
+
- name: Run tests
|
|
26
|
+
# As of now, running tox without environment runs the tests w.r.t the test matrix defined in
|
|
27
|
+
# tox.ini.
|
|
28
|
+
run: tox -e py311
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
on:
|
|
2
|
-
push:
|
|
3
|
-
branches:
|
|
4
|
-
- development
|
|
5
|
-
|
|
6
|
-
permissions:
|
|
7
|
-
contents: write
|
|
8
|
-
pull-requests: write
|
|
9
|
-
|
|
10
|
-
name: release-please
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
release-please:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
steps:
|
|
16
|
-
- uses: google-github-actions/release-please-action@v3
|
|
17
|
-
with:
|
|
18
|
-
release-type: python
|
|
19
|
-
package-name: dimcat
|
|
20
|
-
changelog-path: docs/CHANGELOG.md
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- development
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: write
|
|
9
|
+
|
|
10
|
+
name: release-please
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
release-please:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: google-github-actions/release-please-action@v3
|
|
17
|
+
with:
|
|
18
|
+
release-type: python
|
|
19
|
+
package-name: dimcat
|
|
20
|
+
changelog-path: docs/CHANGELOG.md
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
# Temporary and binary files
|
|
2
|
-
*~
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*.so
|
|
5
|
-
*.cfg
|
|
6
|
-
!.isort.cfg
|
|
7
|
-
!setup.cfg
|
|
8
|
-
*.orig
|
|
9
|
-
*.log
|
|
10
|
-
*.pot
|
|
11
|
-
__pycache__/*
|
|
12
|
-
.cache/*
|
|
13
|
-
.*.swp
|
|
14
|
-
.DS_Store
|
|
15
|
-
|
|
16
|
-
# Jupyter Notebook
|
|
17
|
-
.ipynb_checkpoints
|
|
18
|
-
*.ipynb
|
|
19
|
-
.jupyter_cache/
|
|
20
|
-
|
|
21
|
-
# Project files
|
|
22
|
-
.ropeproject
|
|
23
|
-
.project
|
|
24
|
-
.pydevproject
|
|
25
|
-
.settings
|
|
26
|
-
.idea
|
|
27
|
-
.vscode
|
|
28
|
-
tags
|
|
29
|
-
|
|
30
|
-
# Package files
|
|
31
|
-
*.egg
|
|
32
|
-
*.eggs/
|
|
33
|
-
.installed.cfg
|
|
34
|
-
*.egg-info
|
|
35
|
-
|
|
36
|
-
# Unittest and coverage
|
|
37
|
-
htmlcov/*
|
|
38
|
-
.coverage
|
|
39
|
-
.coverage.*
|
|
40
|
-
.tox
|
|
41
|
-
junit*.xml
|
|
42
|
-
coverage.xml
|
|
43
|
-
.pytest_cache/
|
|
44
|
-
|
|
45
|
-
# Build and docs folder/files
|
|
46
|
-
build/*
|
|
47
|
-
_build/*
|
|
48
|
-
dist/*
|
|
49
|
-
sdist/*
|
|
50
|
-
docs/api/*
|
|
51
|
-
docs/_rst/*
|
|
52
|
-
docs/_build/*
|
|
53
|
-
cover/*
|
|
54
|
-
MANIFEST
|
|
55
|
-
|
|
56
|
-
# Per-project virtualenvs
|
|
57
|
-
.venv*/
|
|
58
|
-
.conda*/
|
|
59
|
-
.python-version
|
|
1
|
+
# Temporary and binary files
|
|
2
|
+
*~
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.so
|
|
5
|
+
*.cfg
|
|
6
|
+
!.isort.cfg
|
|
7
|
+
!setup.cfg
|
|
8
|
+
*.orig
|
|
9
|
+
*.log
|
|
10
|
+
*.pot
|
|
11
|
+
__pycache__/*
|
|
12
|
+
.cache/*
|
|
13
|
+
.*.swp
|
|
14
|
+
.DS_Store
|
|
15
|
+
|
|
16
|
+
# Jupyter Notebook
|
|
17
|
+
.ipynb_checkpoints
|
|
18
|
+
*.ipynb
|
|
19
|
+
.jupyter_cache/
|
|
20
|
+
|
|
21
|
+
# Project files
|
|
22
|
+
.ropeproject
|
|
23
|
+
.project
|
|
24
|
+
.pydevproject
|
|
25
|
+
.settings
|
|
26
|
+
.idea
|
|
27
|
+
.vscode
|
|
28
|
+
tags
|
|
29
|
+
|
|
30
|
+
# Package files
|
|
31
|
+
*.egg
|
|
32
|
+
*.eggs/
|
|
33
|
+
.installed.cfg
|
|
34
|
+
*.egg-info
|
|
35
|
+
|
|
36
|
+
# Unittest and coverage
|
|
37
|
+
htmlcov/*
|
|
38
|
+
.coverage
|
|
39
|
+
.coverage.*
|
|
40
|
+
.tox
|
|
41
|
+
junit*.xml
|
|
42
|
+
coverage.xml
|
|
43
|
+
.pytest_cache/
|
|
44
|
+
|
|
45
|
+
# Build and docs folder/files
|
|
46
|
+
build/*
|
|
47
|
+
_build/*
|
|
48
|
+
dist/*
|
|
49
|
+
sdist/*
|
|
50
|
+
docs/api/*
|
|
51
|
+
docs/_rst/*
|
|
52
|
+
docs/_build/*
|
|
53
|
+
cover/*
|
|
54
|
+
MANIFEST
|
|
55
|
+
|
|
56
|
+
# Per-project virtualenvs
|
|
57
|
+
.venv*/
|
|
58
|
+
.conda*/
|
|
59
|
+
.python-version
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
[submodule "docs/notebooks"]
|
|
2
|
-
path = docs/notebooks
|
|
3
|
-
url = https://github.com/DCMLab/data_reports.git
|
|
4
|
-
[submodule "unittest_metacorpus"]
|
|
5
|
-
path = unittest_metacorpus
|
|
6
|
-
url = https://github.com/DCMLab/unittest_metacorpus
|
|
1
|
+
[submodule "docs/notebooks"]
|
|
2
|
+
path = docs/notebooks
|
|
3
|
+
url = https://github.com/DCMLab/data_reports.git
|
|
4
|
+
[submodule "unittest_metacorpus"]
|
|
5
|
+
path = unittest_metacorpus
|
|
6
|
+
url = https://github.com/DCMLab/unittest_metacorpus
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
[settings]
|
|
2
|
-
known_third_party = _pytest,colorlover,dimcat,frictionless,git,kaleido,marshmallow,ms3,music21,numpy,pandas,plotly,pytest,scipy,setuptools,tqdm,typing_extensions,yaml
|
|
3
|
-
profile = black
|
|
1
|
+
[settings]
|
|
2
|
+
known_third_party = _pytest,colorlover,dimcat,frictionless,git,kaleido,marshmallow,ms3,music21,numpy,pandas,plotly,pytest,scipy,setuptools,tqdm,typing_extensions,yaml
|
|
3
|
+
profile = black
|
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
exclude: '^docs/conf.py'
|
|
2
|
-
|
|
3
|
-
repos:
|
|
4
|
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
-
rev: v4.4.0
|
|
6
|
-
hooks:
|
|
7
|
-
- id: trailing-whitespace
|
|
8
|
-
- id: check-ast
|
|
9
|
-
- id: check-json
|
|
10
|
-
- id: check-merge-conflict
|
|
11
|
-
- id: check-xml
|
|
12
|
-
- id: check-yaml
|
|
13
|
-
- id: debug-statements
|
|
14
|
-
- id: end-of-file-fixer
|
|
15
|
-
- id: requirements-txt-fixer
|
|
16
|
-
- id: mixed-line-ending
|
|
17
|
-
args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows
|
|
18
|
-
|
|
19
|
-
## If you want to avoid flake8 errors due to unused vars or imports:
|
|
20
|
-
# - repo: https://github.com/myint/autoflake
|
|
21
|
-
# rev: v1.4
|
|
22
|
-
# hooks:
|
|
23
|
-
# - id: autoflake
|
|
24
|
-
# args: [
|
|
25
|
-
# --in-place,
|
|
26
|
-
# --remove-all-unused-imports,
|
|
27
|
-
# --remove-unused-variables,
|
|
28
|
-
# ]
|
|
29
|
-
|
|
30
|
-
- repo: https://github.com/asottile/seed-isort-config
|
|
31
|
-
rev: v2.2.0
|
|
32
|
-
hooks:
|
|
33
|
-
- id: seed-isort-config
|
|
34
|
-
- repo: https://github.com/pycqa/isort
|
|
35
|
-
rev: 5.12.0
|
|
36
|
-
hooks:
|
|
37
|
-
- id: isort
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
#
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- "--
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
exclude: '^docs/conf.py'
|
|
2
|
+
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v4.4.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
- id: check-ast
|
|
9
|
+
- id: check-json
|
|
10
|
+
- id: check-merge-conflict
|
|
11
|
+
- id: check-xml
|
|
12
|
+
- id: check-yaml
|
|
13
|
+
- id: debug-statements
|
|
14
|
+
- id: end-of-file-fixer
|
|
15
|
+
- id: requirements-txt-fixer
|
|
16
|
+
- id: mixed-line-ending
|
|
17
|
+
args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows
|
|
18
|
+
|
|
19
|
+
## If you want to avoid flake8 errors due to unused vars or imports:
|
|
20
|
+
# - repo: https://github.com/myint/autoflake
|
|
21
|
+
# rev: v1.4
|
|
22
|
+
# hooks:
|
|
23
|
+
# - id: autoflake
|
|
24
|
+
# args: [
|
|
25
|
+
# --in-place,
|
|
26
|
+
# --remove-all-unused-imports,
|
|
27
|
+
# --remove-unused-variables,
|
|
28
|
+
# ]
|
|
29
|
+
|
|
30
|
+
- repo: https://github.com/asottile/seed-isort-config
|
|
31
|
+
rev: v2.2.0
|
|
32
|
+
hooks:
|
|
33
|
+
- id: seed-isort-config
|
|
34
|
+
- repo: https://github.com/pycqa/isort
|
|
35
|
+
rev: 5.12.0
|
|
36
|
+
hooks:
|
|
37
|
+
- id: isort
|
|
38
|
+
args: ["--profile", "black", "--filter-files"]
|
|
39
|
+
|
|
40
|
+
- repo: https://github.com/ambv/black
|
|
41
|
+
rev: 23.9.0
|
|
42
|
+
hooks:
|
|
43
|
+
- id: black
|
|
44
|
+
language_version: python3.10
|
|
45
|
+
|
|
46
|
+
## If like to embrace black styles even in the docs:
|
|
47
|
+
# - repo: https://github.com/asottile/blacken-docs
|
|
48
|
+
# rev: v1.12.0
|
|
49
|
+
# hooks:
|
|
50
|
+
# - id: blacken-docs
|
|
51
|
+
# additional_dependencies: [black]
|
|
52
|
+
|
|
53
|
+
- repo: https://github.com/PyCQA/flake8
|
|
54
|
+
rev: 6.1.0
|
|
55
|
+
hooks:
|
|
56
|
+
- id: flake8
|
|
57
|
+
args:
|
|
58
|
+
- "--max-line-length=120"
|
|
59
|
+
- "--per-file-ignores=__init__.py:F401"
|
|
60
|
+
## You can add flake8 plugins via `additional_dependencies`:
|
|
61
|
+
# additional_dependencies: [flake8-bugbear]
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# Read the Docs configuration file
|
|
2
|
-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
3
|
-
|
|
4
|
-
# Required
|
|
5
|
-
version: 2
|
|
6
|
-
|
|
7
|
-
build:
|
|
8
|
-
os: ubuntu-22.04
|
|
9
|
-
|
|
10
|
-
tools:
|
|
11
|
-
python: "3.10"
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
pre_build:
|
|
15
|
-
- ipython kernel install --user --name=dimcat
|
|
16
|
-
|
|
17
|
-
submodules:
|
|
18
|
-
include:
|
|
19
|
-
- unittest_metacorpus
|
|
20
|
-
recursive: true
|
|
21
|
-
|
|
22
|
-
# Build documentation in the docs/ directory with Sphinx
|
|
23
|
-
sphinx:
|
|
24
|
-
configuration: docs/conf.py
|
|
25
|
-
|
|
26
|
-
python:
|
|
27
|
-
install:
|
|
28
|
-
- requirements: docs/requirements.txt
|
|
29
|
-
- {path: ., method: pip}
|
|
1
|
+
# Read the Docs configuration file
|
|
2
|
+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
3
|
+
|
|
4
|
+
# Required
|
|
5
|
+
version: 2
|
|
6
|
+
|
|
7
|
+
build:
|
|
8
|
+
os: ubuntu-22.04
|
|
9
|
+
|
|
10
|
+
tools:
|
|
11
|
+
python: "3.10"
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
pre_build:
|
|
15
|
+
- ipython kernel install --user --name=dimcat
|
|
16
|
+
|
|
17
|
+
submodules:
|
|
18
|
+
include:
|
|
19
|
+
- unittest_metacorpus
|
|
20
|
+
recursive: true
|
|
21
|
+
|
|
22
|
+
# Build documentation in the docs/ directory with Sphinx
|
|
23
|
+
sphinx:
|
|
24
|
+
configuration: docs/conf.py
|
|
25
|
+
|
|
26
|
+
python:
|
|
27
|
+
install:
|
|
28
|
+
- requirements: docs/requirements.txt
|
|
29
|
+
- {path: ., method: pip}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
============
|
|
2
|
-
Contributors
|
|
3
|
-
============
|
|
4
|
-
|
|
5
|
-
* Johannes Hentschel (`johentsch <https://github.com/johentsch>`__)
|
|
6
|
-
* Andrew McLeod (`apmcleod <https://github.com/apmcleod>`__)
|
|
7
|
-
* Ioannis Rammos (`yrammos <https://github.com/yrammos>`__)
|
|
8
|
-
* Hugues Devimeux (`huguesdevimeux <https://github.com/huguesdevimeux>`__)
|
|
1
|
+
============
|
|
2
|
+
Contributors
|
|
3
|
+
============
|
|
4
|
+
|
|
5
|
+
* Johannes Hentschel (`johentsch <https://github.com/johentsch>`__)
|
|
6
|
+
* Andrew McLeod (`apmcleod <https://github.com/apmcleod>`__)
|
|
7
|
+
* Ioannis Rammos (`yrammos <https://github.com/yrammos>`__)
|
|
8
|
+
* Hugues Devimeux (`huguesdevimeux <https://github.com/huguesdevimeux>`__)
|