dimcat 3.3.0__tar.gz → 3.4.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.
Files changed (122) hide show
  1. {dimcat-3.3.0 → dimcat-3.4.0}/.coveragerc +28 -28
  2. {dimcat-3.3.0 → dimcat-3.4.0}/.github/workflows/ci.yml +28 -28
  3. {dimcat-3.3.0 → dimcat-3.4.0}/.github/workflows/release-please.yml +20 -20
  4. {dimcat-3.3.0 → dimcat-3.4.0}/.gitignore +59 -59
  5. {dimcat-3.3.0 → dimcat-3.4.0}/.gitmodules +6 -6
  6. {dimcat-3.3.0 → dimcat-3.4.0}/.isort.cfg +3 -3
  7. {dimcat-3.3.0 → dimcat-3.4.0}/.pre-commit-config.yaml +61 -61
  8. {dimcat-3.3.0 → dimcat-3.4.0}/.readthedocs.yml +29 -29
  9. {dimcat-3.3.0 → dimcat-3.4.0}/AUTHORS.rst +8 -8
  10. {dimcat-3.3.0 → dimcat-3.4.0}/CONTRIBUTING.rst +419 -419
  11. {dimcat-3.3.0 → dimcat-3.4.0}/COPYING +621 -621
  12. {dimcat-3.3.0 → dimcat-3.4.0}/PKG-INFO +105 -105
  13. {dimcat-3.3.0 → dimcat-3.4.0}/README.rst +87 -87
  14. {dimcat-3.3.0 → dimcat-3.4.0}/docs/CHANGELOG.md +408 -390
  15. {dimcat-3.3.0 → dimcat-3.4.0}/docs/LICENSE.rst +736 -736
  16. {dimcat-3.3.0 → dimcat-3.4.0}/docs/Makefile +29 -29
  17. {dimcat-3.3.0 → dimcat-3.4.0}/docs/_static/.gitignore +1 -1
  18. {dimcat-3.3.0 → dimcat-3.4.0}/docs/authors.rst +2 -2
  19. {dimcat-3.3.0 → dimcat-3.4.0}/docs/conf.py +316 -316
  20. {dimcat-3.3.0 → dimcat-3.4.0}/docs/contributing.rst +1 -1
  21. {dimcat-3.3.0 → dimcat-3.4.0}/docs/diagrams/PipelineStep.uml +40 -40
  22. {dimcat-3.3.0 → dimcat-3.4.0}/docs/environment.yml +30 -30
  23. {dimcat-3.3.0 → dimcat-3.4.0}/docs/imprint.rst +11 -11
  24. {dimcat-3.3.0 → dimcat-3.4.0}/docs/index.html +1 -1
  25. {dimcat-3.3.0 → dimcat-3.4.0}/docs/index.rst +37 -37
  26. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/data.md +243 -243
  27. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/dcml_corpora.datapackage.json +1274 -1274
  28. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/developers.md +250 -250
  29. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/errors.md +60 -60
  30. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/index.rst +11 -11
  31. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/quick.md +190 -190
  32. {dimcat-3.3.0 → dimcat-3.4.0}/docs/notebooks.rst +12 -12
  33. {dimcat-3.3.0 → dimcat-3.4.0}/docs/requirements.txt +1 -1
  34. {dimcat-3.3.0 → dimcat-3.4.0}/docs/tutorial.ipynb +532 -532
  35. {dimcat-3.3.0 → dimcat-3.4.0}/pyproject.toml +8 -8
  36. {dimcat-3.3.0 → dimcat-3.4.0}/setup.cfg +95 -95
  37. {dimcat-3.3.0 → dimcat-3.4.0}/setup.py +21 -21
  38. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/__init__.py +39 -39
  39. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/base.py +1210 -1210
  40. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/cli.py +274 -274
  41. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/__init__.py +5 -5
  42. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/base.py +166 -166
  43. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/catalogs/__init__.py +7 -7
  44. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/catalogs/base.py +310 -310
  45. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/catalogs/inputs.py +29 -29
  46. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/catalogs/outputs.py +36 -36
  47. {dimcat-3.3.0/src/dimcat/steps/pipelines → dimcat-3.4.0/src/dimcat/data/datasets}/__init__.py +3 -3
  48. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/datasets/base.py +476 -476
  49. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/datasets/processed.py +163 -163
  50. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/packages/__init__.py +7 -7
  51. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/packages/base.py +1538 -1538
  52. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/packages/dc.py +123 -123
  53. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/packages/score.py +22 -22
  54. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/__init__.py +27 -27
  55. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/base.py +1421 -1421
  56. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/dc.py +2251 -2251
  57. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/facets.py +882 -874
  58. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/features.py +1262 -1262
  59. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/results.py +4134 -4134
  60. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/resources/utils.py +1890 -1890
  61. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/data/utils.py +138 -138
  62. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/dc_exceptions.py +521 -521
  63. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/dc_warnings.py +33 -33
  64. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/enums.py +54 -54
  65. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/plotting.py +1234 -1234
  66. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/settings.ini +58 -58
  67. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/__init__.py +3 -3
  68. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/__init__.py +8 -8
  69. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/base.py +267 -267
  70. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/counters.py +242 -242
  71. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/phrases.py +225 -225
  72. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/prevalence.py +171 -171
  73. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/analyzers/proportions.py +79 -79
  74. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/base.py +539 -539
  75. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/extractors/__init__.py +7 -7
  76. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/extractors/base.py +66 -66
  77. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/filters/__init__.py +7 -7
  78. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/filters/annotations.py +37 -37
  79. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/filters/base.py +76 -76
  80. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/groupers/__init__.py +8 -8
  81. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/groupers/annotations.py +110 -110
  82. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/groupers/base.py +376 -376
  83. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/groupers/columns.py +68 -68
  84. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/groupers/metadata.py +59 -59
  85. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/loaders/__init__.py +7 -7
  86. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/loaders/base.py +739 -739
  87. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/loaders/m21.py +493 -493
  88. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/loaders/musescore.py +216 -216
  89. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/loaders/utils.py +129 -129
  90. {dimcat-3.3.0/src/dimcat/data/datasets → dimcat-3.4.0/src/dimcat/steps/pipelines}/__init__.py +3 -3
  91. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/pipelines/base.py +198 -197
  92. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/slicers/__init__.py +10 -10
  93. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/slicers/base.py +70 -70
  94. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/steps/slicers/feature_dimensions.py +176 -162
  95. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat/utils.py +588 -588
  96. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/PKG-INFO +105 -105
  97. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/not-zip-safe +1 -1
  98. {dimcat-3.3.0 → dimcat-3.4.0}/tests/__init__.py +3 -3
  99. {dimcat-3.3.0 → dimcat-3.4.0}/tests/app_tests.py +207 -207
  100. {dimcat-3.3.0 → dimcat-3.4.0}/tests/conftest.py +623 -623
  101. {dimcat-3.3.0 → dimcat-3.4.0}/tests/debugging.py +53 -53
  102. {dimcat-3.3.0 → dimcat-3.4.0}/tests/enums.py +40 -40
  103. {dimcat-3.3.0 → dimcat-3.4.0}/tests/loggers.py +42 -42
  104. {dimcat-3.3.0 → dimcat-3.4.0}/tests/pytest.ini +3 -3
  105. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_base.py +339 -339
  106. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_dataset.py +30 -30
  107. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_feature.py +8 -8
  108. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_grouper.py +20 -20
  109. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_loaders.py +155 -155
  110. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_package.py +188 -188
  111. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_pipeline.py +43 -43
  112. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_resource.py +576 -576
  113. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_settings.py +46 -46
  114. {dimcat-3.3.0 → dimcat-3.4.0}/tests/test_visualization_app.py +212 -212
  115. {dimcat-3.3.0 → dimcat-3.4.0}/tox.ini +83 -83
  116. {dimcat-3.3.0 → dimcat-3.4.0}/docs/.nojekyll +0 -0
  117. {dimcat-3.3.0 → dimcat-3.4.0}/docs/manual/dcml_corpora.zip +0 -0
  118. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/SOURCES.txt +0 -0
  119. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/dependency_links.txt +0 -0
  120. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/entry_points.txt +0 -0
  121. {dimcat-3.3.0 → dimcat-3.4.0}/src/dimcat.egg-info/requires.txt +0 -0
  122. {dimcat-3.3.0 → dimcat-3.4.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,61 +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
- 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
+ exclude: '^docs/conf.py'
2
+
3
+ repos:
4
+ - repo: https://github.com/pre-commit/pre-commit-hooks
5
+ rev: v5.0.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: 6.0.1
36
+ hooks:
37
+ - id: isort
38
+ args: ["--profile", "black", "--filter-files"]
39
+
40
+ - repo: https://github.com/ambv/black
41
+ rev: 25.1.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: 7.1.2
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>`__)