pycodetags 0.1.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 (163) hide show
  1. pycodetags-0.1.0/.build_history/bandit +0 -0
  2. pycodetags-0.1.0/.build_history/black +0 -0
  3. pycodetags-0.1.0/.build_history/isort +0 -0
  4. pycodetags-0.1.0/.build_history/pre-commit +0 -0
  5. pycodetags-0.1.0/.github/workflows/build.yml +60 -0
  6. pycodetags-0.1.0/.github/workflows/update_plugins_list.yml +70 -0
  7. pycodetags-0.1.0/.gitignore +195 -0
  8. pycodetags-0.1.0/.idea/.gitignore +8 -0
  9. pycodetags-0.1.0/.idea/code_tags.iml +23 -0
  10. pycodetags-0.1.0/.idea/inspectionProfiles/Project_Default.xml +7 -0
  11. pycodetags-0.1.0/.idea/inspectionProfiles/profiles_settings.xml +7 -0
  12. pycodetags-0.1.0/.idea/misc.xml +10 -0
  13. pycodetags-0.1.0/.idea/modules.xml +8 -0
  14. pycodetags-0.1.0/.idea/vcs.xml +7 -0
  15. pycodetags-0.1.0/.markdownlintrc +36 -0
  16. pycodetags-0.1.0/.pre-commit-config.yaml +96 -0
  17. pycodetags-0.1.0/.pydoctest.json +5 -0
  18. pycodetags-0.1.0/.pylintrc +638 -0
  19. pycodetags-0.1.0/.pylintrc_docs +638 -0
  20. pycodetags-0.1.0/.pylintrc_spell +9 -0
  21. pycodetags-0.1.0/.pylintrc_tests +642 -0
  22. pycodetags-0.1.0/AUTHORS.md +1 -0
  23. pycodetags-0.1.0/CHANGELOG.md +30 -0
  24. pycodetags-0.1.0/CONTRIBUTING.md +44 -0
  25. pycodetags-0.1.0/Justfile +171 -0
  26. pycodetags-0.1.0/LICENSE +21 -0
  27. pycodetags-0.1.0/Makefile +139 -0
  28. pycodetags-0.1.0/PKG-INFO +28 -0
  29. pycodetags-0.1.0/README.md +250 -0
  30. pycodetags-0.1.0/TODO.template.md +9 -0
  31. pycodetags-0.1.0/basic_help.sh +18 -0
  32. pycodetags-0.1.0/basic_plugins.sh +25 -0
  33. pycodetags-0.1.0/basic_test.sh +28 -0
  34. pycodetags-0.1.0/basic_test_via_config.sh +33 -0
  35. pycodetags-0.1.0/basic_test_with_logging.sh +29 -0
  36. pycodetags-0.1.0/basic_test_with_multiple_sources.sh +27 -0
  37. pycodetags-0.1.0/code_tag_todos/__init__.py +0 -0
  38. pycodetags-0.1.0/code_tag_todos/own_todos.py +11 -0
  39. pycodetags-0.1.0/code_tag_todos/own_todos_pep350.py +26 -0
  40. pycodetags-0.1.0/code_tags/__about__.py +8 -0
  41. pycodetags-0.1.0/code_tags/__init__.py +38 -0
  42. pycodetags-0.1.0/code_tags/__main__.py +233 -0
  43. pycodetags-0.1.0/code_tags/aggregate.py +130 -0
  44. pycodetags-0.1.0/code_tags/collect.py +271 -0
  45. pycodetags-0.1.0/code_tags/collect_ast.py +80 -0
  46. pycodetags-0.1.0/code_tags/collection_types.py +15 -0
  47. pycodetags-0.1.0/code_tags/comment_finder.py +181 -0
  48. pycodetags-0.1.0/code_tags/config.py +363 -0
  49. pycodetags-0.1.0/code_tags/converters.py +111 -0
  50. pycodetags-0.1.0/code_tags/data_tag_types.py +163 -0
  51. pycodetags-0.1.0/code_tags/data_tags.py +397 -0
  52. pycodetags-0.1.0/code_tags/dotenv.py +101 -0
  53. pycodetags-0.1.0/code_tags/folk_code_tags.py +256 -0
  54. pycodetags-0.1.0/code_tags/logging_config.py +69 -0
  55. pycodetags-0.1.0/code_tags/plugin_diagnostics.py +30 -0
  56. pycodetags-0.1.0/code_tags/plugin_manager.py +21 -0
  57. pycodetags-0.1.0/code_tags/plugin_specs.py +120 -0
  58. pycodetags-0.1.0/code_tags/py.typed +1 -0
  59. pycodetags-0.1.0/code_tags/specific_schemas.py +26 -0
  60. pycodetags-0.1.0/code_tags/standard_code_tags.py +171 -0
  61. pycodetags-0.1.0/code_tags/todo_object_schema.py +30 -0
  62. pycodetags-0.1.0/code_tags/todo_tag_types.py +364 -0
  63. pycodetags-0.1.0/code_tags/todo_tag_types_aliases.py +535 -0
  64. pycodetags-0.1.0/code_tags/todo_tag_types_generate_aliases.py +111 -0
  65. pycodetags-0.1.0/code_tags/user.py +48 -0
  66. pycodetags-0.1.0/code_tags/users_from_authors.py +95 -0
  67. pycodetags-0.1.0/code_tags/view_tools.py +45 -0
  68. pycodetags-0.1.0/code_tags/views.py +289 -0
  69. pycodetags-0.1.0/code_tags.flat.md +4471 -0
  70. pycodetags-0.1.0/code_tags_report_all.txt +496 -0
  71. pycodetags-0.1.0/code_tags_report_default.txt +86 -0
  72. pycodetags-0.1.0/configs_for_methologies/code_tags.toml +77 -0
  73. pycodetags-0.1.0/configs_for_methologies/pep350.toml +73 -0
  74. pycodetags-0.1.0/configs_for_methologies/scrum.toml +0 -0
  75. pycodetags-0.1.0/demo/__init__.py +0 -0
  76. pycodetags-0.1.0/demo/__main__.py +347 -0
  77. pycodetags-0.1.0/demo/demo.js +1 -0
  78. pycodetags-0.1.0/demo_reports/CHANGELOG.md +4 -0
  79. pycodetags-0.1.0/demo_reports/default.txt +120 -0
  80. pycodetags-0.1.0/demo_reports/todo.json +4 -0
  81. pycodetags-0.1.0/demo_reports/todo.md +17 -0
  82. pycodetags-0.1.0/demo_reports/todo.txt +120 -0
  83. pycodetags-0.1.0/docs/DATA_MODEL.md +84 -0
  84. pycodetags-0.1.0/docs/DESIGN.md +222 -0
  85. pycodetags-0.1.0/docs/FAQ.md +55 -0
  86. pycodetags-0.1.0/docs/PRIOR_ART.md +66 -0
  87. pycodetags-0.1.0/docs/TASKS.md +107 -0
  88. pycodetags-0.1.0/docs/USER_MANUAL.md +349 -0
  89. pycodetags-0.1.0/docs/plugin_list.md +25 -0
  90. pycodetags-0.1.0/dog_food.sh +16 -0
  91. pycodetags-0.1.0/plugins/Makefile +82 -0
  92. pycodetags-0.1.0/plugins/README.md +26 -0
  93. pycodetags-0.1.0/plugins/code_tags_discussion/README.md +15 -0
  94. pycodetags-0.1.0/plugins/code_tags_discussion/code_tags_discussion/__init__.py +0 -0
  95. pycodetags-0.1.0/plugins/code_tags_discussion/code_tags_discussion/strong_types.py +27 -0
  96. pycodetags-0.1.0/plugins/code_tags_discussion/code_tags_discussion/views.py +0 -0
  97. pycodetags-0.1.0/plugins/code_tags_discussion/pyproject.toml +17 -0
  98. pycodetags-0.1.0/plugins/code_tags_html_templates/code_tags_html_temlplates/__init__.py +0 -0
  99. pycodetags-0.1.0/plugins/code_tags_html_templates/code_tags_html_temlplates/main.py +25 -0
  100. pycodetags-0.1.0/plugins/code_tags_html_templates/code_tags_html_temlplates/templates/__init__.py +3 -0
  101. pycodetags-0.1.0/plugins/code_tags_html_templates/code_tags_html_temlplates/templates/report.html.jinja2 +175 -0
  102. pycodetags-0.1.0/plugins/code_tags_html_templates/code_tags_html_temlplates/views_templated.py +59 -0
  103. pycodetags-0.1.0/plugins/code_tags_html_templates/pyproject.toml +17 -0
  104. pycodetags-0.1.0/plugins/code_tags_html_templates/test_views_templated.py +74 -0
  105. pycodetags-0.1.0/plugins/code_tags_javascript/README.md +6 -0
  106. pycodetags-0.1.0/plugins/code_tags_javascript/code_tags_javascript/__init__.py +0 -0
  107. pycodetags-0.1.0/plugins/code_tags_javascript/code_tags_javascript/main.py +43 -0
  108. pycodetags-0.1.0/plugins/code_tags_javascript/pyproject.toml +16 -0
  109. pycodetags-0.1.0/plugins/code_tags_jira_sync/README.md +5 -0
  110. pycodetags-0.1.0/plugins/code_tags_jira_sync/code_tags_jira_sync/__init__.py +0 -0
  111. pycodetags-0.1.0/plugins/code_tags_jira_sync/code_tags_jira_sync/main.py +46 -0
  112. pycodetags-0.1.0/plugins/code_tags_jira_sync/pyproject.toml +16 -0
  113. pycodetags-0.1.0/plugins/code_tags_ldap_validation/README.md +6 -0
  114. pycodetags-0.1.0/plugins/code_tags_ldap_validation/code_tags_ldap_validation/__init__.py +0 -0
  115. pycodetags-0.1.0/plugins/code_tags_ldap_validation/code_tags_ldap_validation/main.py +19 -0
  116. pycodetags-0.1.0/plugins/code_tags_ldap_validation/pyproject.toml +16 -0
  117. pycodetags-0.1.0/plugins/code_tags_markdown_view/README.md +6 -0
  118. pycodetags-0.1.0/plugins/code_tags_markdown_view/code_tags_markdown_view/__init__.py +0 -0
  119. pycodetags-0.1.0/plugins/code_tags_markdown_view/code_tags_markdown_view/main.py +29 -0
  120. pycodetags-0.1.0/plugins/code_tags_markdown_view/pyproject.toml +16 -0
  121. pycodetags-0.1.0/plugins/code_tags_remove_done/code_tags_remove_done/__init__.py +0 -0
  122. pycodetags-0.1.0/private_dictionary.txt +45 -0
  123. pycodetags-0.1.0/pyproject.toml +325 -0
  124. pycodetags-0.1.0/scripts/update_plugins_list.py +184 -0
  125. pycodetags-0.1.0/templates/angularjs.html +249 -0
  126. pycodetags-0.1.0/tests/__init__.py +0 -0
  127. pycodetags-0.1.0/tests/demo/__init__.py +0 -0
  128. pycodetags-0.1.0/tests/demo/demo.py +44 -0
  129. pycodetags-0.1.0/tests/demo/folk_tags.py +41 -0
  130. pycodetags-0.1.0/tests/demo/mixed_styles.py +23 -0
  131. pycodetags-0.1.0/tests/demo/pep350_tags.py +55 -0
  132. pycodetags-0.1.0/tests/test_TODO.py +63 -0
  133. pycodetags-0.1.0/tests/test_aggregators.py +8 -0
  134. pycodetags-0.1.0/tests/test_collect.py +39 -0
  135. pycodetags-0.1.0/tests/test_comment_finder.py +104 -0
  136. pycodetags-0.1.0/tests/test_config_more.py +122 -0
  137. pycodetags-0.1.0/tests/test_converters.py +120 -0
  138. pycodetags-0.1.0/tests/test_dates.py +16 -0
  139. pycodetags-0.1.0/tests/test_done.py +16 -0
  140. pycodetags-0.1.0/tests/test_dotenv.py +179 -0
  141. pycodetags-0.1.0/tests/test_exercise_factories.py +19 -0
  142. pycodetags-0.1.0/tests/test_folk_tags.py +122 -0
  143. pycodetags-0.1.0/tests/test_folk_tags_more.py +166 -0
  144. pycodetags-0.1.0/tests/test_folk_tests_doubles.py +367 -0
  145. pycodetags-0.1.0/tests/test_just_import.py +7 -0
  146. pycodetags-0.1.0/tests/test_logging_config.py +36 -0
  147. pycodetags-0.1.0/tests/test_main.py +83 -0
  148. pycodetags-0.1.0/tests/test_pep350_tags_doubles.py +515 -0
  149. pycodetags-0.1.0/tests/test_serializable.py +18 -0
  150. pycodetags-0.1.0/tests/test_standard_code_tags.py +257 -0
  151. pycodetags-0.1.0/tests/test_todo_exceptions.py +8 -0
  152. pycodetags-0.1.0/tests/test_todo_skips.py +6 -0
  153. pycodetags-0.1.0/tests/test_todos_again.py +158 -0
  154. pycodetags-0.1.0/tests/test_user.py +18 -0
  155. pycodetags-0.1.0/tests/test_user_more.py +100 -0
  156. pycodetags-0.1.0/tests/test_users_from_authors.py +36 -0
  157. pycodetags-0.1.0/tests/test_users_from_authors_more.py +63 -0
  158. pycodetags-0.1.0/tests/test_views.py +45 -0
  159. pycodetags-0.1.0/tests/test_views_with_just_any_data.py +57 -0
  160. pycodetags-0.1.0/tests_bot/test_misunderstood_hypothesis.py +1261 -0
  161. pycodetags-0.1.0/todo.json +821 -0
  162. pycodetags-0.1.0/tox.ini +47 -0
  163. pycodetags-0.1.0/uv.lock +3150 -0
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,60 @@
1
+ name: Build and Test
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+
9
+ steps:
10
+ - uses: actions/checkout@v4.1.7
11
+ with:
12
+ persist-credentials: false
13
+ - uses: actions/setup-python@v5.1.1
14
+ with:
15
+ python-version: '3.13'
16
+ # cache: 'pipenv' # caching pipenv dependencies
17
+ - name: Install uv and pipx
18
+ run: |
19
+ pip install uv && pip install pipx
20
+
21
+ - name: Install global dependencies
22
+ run: |
23
+ pipx install uv && pipx install "coderoller" && \
24
+ pipx install isort && pipx install black && pipx install bandit && \
25
+ pipx install pylint && pipx install pre-commit && pipx install poetry && pipx install hatch
26
+
27
+ - name: Install Dependencies
28
+ run: uv sync
29
+
30
+ - name: Run make check
31
+ run: uv run make check
32
+ - name: Run make publish
33
+ run: uv run make publish
34
+ - name: Upload Package
35
+ uses: actions/upload-artifact@v4.3.6
36
+ with:
37
+ name: packages
38
+ path: dist/
39
+ if-no-files-found: error
40
+ retention-days: 1
41
+
42
+
43
+ pypi-publish:
44
+ name: Upload release to PyPI
45
+ runs-on: ubuntu-latest
46
+ environment:
47
+ name: pypi
48
+ url: https://pypi.org/p/pycodetags
49
+ permissions:
50
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
51
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
52
+ steps:
53
+ - name: Get packages
54
+ uses: actions/download-artifact@v4.1.8
55
+ with:
56
+ name: packages
57
+ path: dist/
58
+ - name: Publish package distributions to PyPI
59
+ uses: pypa/gh-action-pypi-publish@v1.12.4
60
+ needs: build
@@ -0,0 +1,70 @@
1
+ name: Update Plugin List
2
+
3
+ on:
4
+ schedule:
5
+ # At 00:00 on Sunday.
6
+ # https://crontab.guru
7
+ - cron: '0 0 * * 0'
8
+ workflow_dispatch:
9
+
10
+ # Set permissions at the job level.
11
+ permissions: {}
12
+
13
+ jobs:
14
+ update-plugin-list:
15
+ if: github.repository_owner == 'matthewdeanmartin'
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: write
19
+ pull-requests: write
20
+
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ persist-credentials: false
27
+
28
+ - name: Setup Python
29
+ uses: actions/setup-python@v5
30
+ with:
31
+ python-version: "3.11"
32
+ cache: pip
33
+
34
+ - name: requests-cache
35
+ uses: actions/cache@v4
36
+ with:
37
+ path: ~/.cache/code-tags-plugin-list/
38
+ key: plugins-http-cache-${{ github.run_id }} # Can use time based key as well
39
+ restore-keys: plugins-http-cache-
40
+
41
+ - name: Install dependencies
42
+ run: |
43
+ python -m pip install --upgrade pip
44
+ pip install packaging requests tabulate[widechars] tqdm requests-cache platformdirs
45
+
46
+ - name: Update Plugin List
47
+ run: python scripts/update_plugins_list.py
48
+
49
+ - name: Create Pull Request
50
+ id: pr
51
+ uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
52
+ with:
53
+ commit-message: '[automated] Update plugin list'
54
+ author: 'code tags bot <codetagsbot@users.noreply.github.com>'
55
+ branch: update-plugin-list/patch
56
+ delete-branch: true
57
+ branch-suffix: short-commit-hash
58
+ title: '[automated] Update plugin list'
59
+ body: '[automated] Update plugin list'
60
+ draft: true
61
+
62
+ - name: Instruct the maintainers to trigger CI by undrafting the PR
63
+ env:
64
+ GITHUB_TOKEN: ${{ github.token }}
65
+ PULL_REQUEST_NUMBER: ${{ steps.pr.outputs.pull-request-number }}
66
+ run: >-
67
+ gh pr comment
68
+ --body 'Please mark the PR as ready for review to trigger PR checks.'
69
+ --repo '${{ github.repository }}'
70
+ "$PULL_REQUEST_NUMBER"
@@ -0,0 +1,195 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+
110
+ # pdm
111
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
+ #pdm.lock
113
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
+ # in version control.
115
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
+ .pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
+ __pypackages__/
122
+
123
+ # Celery stuff
124
+ celerybeat-schedule
125
+ celerybeat.pid
126
+
127
+ # SageMath parsed files
128
+ *.sage.py
129
+
130
+ # Environments
131
+ .env
132
+ .venv
133
+ env/
134
+ venv/
135
+ ENV/
136
+ env.bak/
137
+ venv.bak/
138
+
139
+ # Spyder project settings
140
+ .spyderproject
141
+ .spyproject
142
+
143
+ # Rope project settings
144
+ .ropeproject
145
+
146
+ # mkdocs documentation
147
+ /site
148
+
149
+ # mypy
150
+ .mypy_cache/
151
+ .dmypy.json
152
+ dmypy.json
153
+
154
+ # Pyre type checker
155
+ .pyre/
156
+
157
+ # pytype static type analyzer
158
+ .pytype/
159
+
160
+ # Cython debug symbols
161
+ cython_debug/
162
+
163
+ # PyCharm
164
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
167
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
+ #.idea/
169
+
170
+ # Abstra
171
+ # Abstra is an AI-powered process automation framework.
172
+ # Ignore directories containing user credentials, local state, and settings.
173
+ # Learn more at https://abstra.io/docs
174
+ .abstra/
175
+
176
+ # Visual Studio Code
177
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
178
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
179
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
180
+ # you could uncomment the following to ignore the enitre vscode folder
181
+ # .vscode/
182
+
183
+ # Ruff stuff:
184
+ .ruff_cache/
185
+
186
+ # PyPI configuration file
187
+ .pypirc
188
+
189
+ # Cursor
190
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
191
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
192
+ # refer to https://docs.cursor.com/context/ignore-files
193
+ .cursorignore
194
+ .cursorindexingignore
195
+ /pydocs/
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_discussion" isTestSource="false" />
6
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_html_templates" isTestSource="false" />
7
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_javascript" isTestSource="false" />
8
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_jira_sync" isTestSource="false" />
9
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_ldap_validation" isTestSource="false" />
10
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_markdown_view" isTestSource="false" />
11
+ <sourceFolder url="file://$MODULE_DIR$/plugins/code_tags_remove_done" isTestSource="false" />
12
+ <excludeFolder url="file://$MODULE_DIR$/.venv" />
13
+ </content>
14
+ <orderEntry type="jdk" jdkName="uv (code_tags) (2)" jdkType="Python SDK" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
16
+ </component>
17
+ <component name="PackageRequirementsSettings">
18
+ <option name="requirementsPath" value="" />
19
+ </component>
20
+ <component name="TestRunnerService">
21
+ <option name="PROJECT_TEST_RUNNER" value="py.test" />
22
+ </component>
23
+ </module>
@@ -0,0 +1,7 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ <inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
6
+ </profile>
7
+ </component>
@@ -0,0 +1,7 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="PROJECT_PROFILE" value="Default" />
4
+ <option name="USE_PROJECT_PROFILE" value="false" />
5
+ <version value="1.0" />
6
+ </settings>
7
+ </component>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Python 3.12 (svcs)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="uv (code_tags) (2)" project-jdk-type="Python SDK" />
7
+ <component name="PythonCompatibilityInspectionAdvertiser">
8
+ <option name="version" value="3" />
9
+ </component>
10
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/code_tags.iml" filepath="$PROJECT_DIR$/.idea/code_tags.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,36 @@
1
+ {
2
+ // Enable all markdownlint rules
3
+ "default": true,
4
+
5
+ // Disable line length check
6
+ "MD013": false,
7
+
8
+ // Real English sometimes ends in punct
9
+ "MD026": false,
10
+
11
+ // Pelican doesn't require H1 at top
12
+ "MD041": false,
13
+
14
+ // Set Ordered list item prefix to "ordered" (use 1. 2. 3. not 1. 1. 1.)
15
+ "MD029": { "style": "ordered" },
16
+
17
+ ///list-marker-space - mdformat disagrees
18
+ "MD030": false,
19
+
20
+ // Set list indent level to 4 which Python-Markdown requires
21
+ "MD007": {
22
+ "indent": 2
23
+ },
24
+ "MD007/ul-indent":{
25
+ "indent": 2
26
+ },
27
+
28
+ // Code block style
29
+ "MD046": { "style": "fenced" },
30
+
31
+ // Multiple headings with the same title
32
+ "MD024": { "siblings_only": true }
33
+
34
+ // Allow inline HTML
35
+ //"MD033": false
36
+ }
@@ -0,0 +1,96 @@
1
+ ---
2
+ repos:
3
+ - repo: https://github.com/pre-commit/pre-commit-hooks
4
+ rev: v5.0.0
5
+ hooks:
6
+ # each hook takes about 1s to run. These are expensive-ish checks
7
+ - id: check-added-large-files
8
+ - id: check-yaml
9
+ - id: check-builtin-literals
10
+ - id: check-byte-order-marker
11
+ - id: check-case-conflict
12
+ - id: check-merge-conflict
13
+ - id: check-symlinks
14
+ - id: check-toml
15
+ - id: debug-statements
16
+ - id: detect-private-key
17
+ - id: fix-encoding-pragma
18
+ args: [ --remove ]
19
+ - id: forbid-new-submodules
20
+ # Too aggressive if you are trying to support old vers!
21
+ # - repo: https://github.com/asottile/pyupgrade
22
+ # rev: v3.20.0
23
+ # hooks:
24
+ # - id: pyupgrade
25
+ # args: [ "--py37-plus", "--keep-runtime-typing"]
26
+ # Buggy? Reports no files change, "FAILURE"
27
+ # - repo: https://github.com/tox-dev/pyproject-fmt
28
+ # rev: "0.4.1"
29
+ # hooks:
30
+ # - id: pyproject-fmt
31
+ # works for me, don't know why it is complaining
32
+ # - repo: https://github.com/abravalheri/validate-pyproject
33
+ # rev: v0.10.1
34
+ # hooks:
35
+ # - id: validate-pyproject
36
+ - repo: https://github.com/myint/autoflake
37
+ rev: v2.3.1
38
+ hooks:
39
+ - id: autoflake
40
+ args:
41
+ - --in-place
42
+ - --recursive
43
+ - --expand-star-imports
44
+ - --remove-all-unused-imports
45
+ - --remove-duplicate-keys
46
+ - --remove-unused-variables
47
+ # black is conflicting with something else
48
+ # - repo: https://github.com/psf/black
49
+ # rev: 23.12.1
50
+ # hooks:
51
+ # - id: black
52
+ # language_version: python3.10
53
+ # - repo: https://github.com/pycqa/isort
54
+ # rev: 5.11.4
55
+ # hooks:
56
+ # - id: isort
57
+ # name: isort
58
+ # args:
59
+ # - --profile black
60
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
61
+ rev: v0.12.0
62
+ hooks:
63
+ - id: ruff
64
+ exclude: ^dead_code/
65
+ args: [
66
+ "--config",
67
+ "pyproject.toml",
68
+ "--fix",
69
+ ]
70
+ - repo: https://github.com/pre-commit/pygrep-hooks
71
+ rev: v1.10.0 # Use the ref you want to point at
72
+ hooks:
73
+ - id: python-use-type-annotations
74
+ - id: python-no-eval
75
+ - id: python-no-log-warn
76
+ - id: text-unicode-replacement-char
77
+ # - repo: https://github.com/igorshubovych/markdownlint-cli
78
+ # rev: v0.38.0
79
+ # hooks:
80
+ # - id: markdownlint
81
+ # # '--fix'
82
+ # args: [ 'content/**/*.md', '--config', '.markdownlintrc' ]
83
+ # - repo: https://github.com/executablebooks/mdformat
84
+ # rev: 0.7.17 # Use the ref you want to point at
85
+ # hooks:
86
+ # - id: mdformat
87
+ # # Optionally add plugins
88
+ # additional_dependencies:
89
+ # - mdformat-gfm
90
+ # - mdformat-black
91
+ # - repo: https://github.com/adamchainz/blacken-docs
92
+ # rev: 1.19.1
93
+ # hooks:
94
+ # - id: blacken-docs
95
+ # additional_dependencies:
96
+ # - black==23.12.1
@@ -0,0 +1,5 @@
1
+ {
2
+ "include_paths": [ "code_tags/*.py" ],
3
+ "fail_on_missing_docstring": true,
4
+ "parser": "google"
5
+ }