version-bumper 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 (64) hide show
  1. version_bumper-0.1.0/.cruft.json +24 -0
  2. version_bumper-0.1.0/.cruft.json.license +3 -0
  3. version_bumper-0.1.0/.gitignore +21 -0
  4. version_bumper-0.1.0/.hgignore +17 -0
  5. version_bumper-0.1.0/.idea/.gitignore +8 -0
  6. version_bumper-0.1.0/.idea/inspectionProfiles/Project_Default.xml +29 -0
  7. version_bumper-0.1.0/.idea/inspectionProfiles/profiles_settings.xml +7 -0
  8. version_bumper-0.1.0/.idea/misc.xml +7 -0
  9. version_bumper-0.1.0/.idea/modules.xml +8 -0
  10. version_bumper-0.1.0/.idea/ruff.xml +7 -0
  11. version_bumper-0.1.0/.idea/vcs.xml +6 -0
  12. version_bumper-0.1.0/.idea/version_bumper.iml +18 -0
  13. version_bumper-0.1.0/.idea/workspace.xml +466 -0
  14. version_bumper-0.1.0/.pre-commit-config.yaml +122 -0
  15. version_bumper-0.1.0/DEV-README.md +871 -0
  16. version_bumper-0.1.0/LICENSES/MIT.txt +9 -0
  17. version_bumper-0.1.0/PKG-INFO +284 -0
  18. version_bumper-0.1.0/README.md +215 -0
  19. version_bumper-0.1.0/Taskfile.yaml +386 -0
  20. version_bumper-0.1.0/docs/DEV-README.md +592 -0
  21. version_bumper-0.1.0/docs/index.md +263 -0
  22. version_bumper-0.1.0/mkdocs.yml +70 -0
  23. version_bumper-0.1.0/poetry.lock +3101 -0
  24. version_bumper-0.1.0/poetry.lock.license +3 -0
  25. version_bumper-0.1.0/pyproject.toml +666 -0
  26. version_bumper-0.1.0/scripts/fail_on_regex_match.sh +14 -0
  27. version_bumper-0.1.0/scripts/gen_ref_pages.py +42 -0
  28. version_bumper-0.1.0/scripts/latest_pypi_version.sh +17 -0
  29. version_bumper-0.1.0/scripts/metrics_cc_filter.py +57 -0
  30. version_bumper-0.1.0/scripts/run-mypy-all-python-versions.sh +16 -0
  31. version_bumper-0.1.0/scripts/swap_build_system.py +74 -0
  32. version_bumper-0.1.0/scripts/venv_runner.sh +23 -0
  33. version_bumper-0.1.0/src/version_bumper/__init__.py +29 -0
  34. version_bumper-0.1.0/src/version_bumper/__main__.py +214 -0
  35. version_bumper-0.1.0/src/version_bumper/clibones/__init__.py +44 -0
  36. version_bumper-0.1.0/src/version_bumper/clibones/application_settings.py +210 -0
  37. version_bumper-0.1.0/src/version_bumper/clibones/config_file.py +157 -0
  38. version_bumper-0.1.0/src/version_bumper/clibones/config_file_base.py +26 -0
  39. version_bumper-0.1.0/src/version_bumper/clibones/info_control.py +83 -0
  40. version_bumper-0.1.0/src/version_bumper/clibones/json_config_file.py +35 -0
  41. version_bumper-0.1.0/src/version_bumper/clibones/logger_control.py +114 -0
  42. version_bumper-0.1.0/src/version_bumper/clibones/toml_config_file.py +34 -0
  43. version_bumper-0.1.0/src/version_bumper/commands.py +157 -0
  44. version_bumper-0.1.0/src/version_bumper/pyproject.py +50 -0
  45. version_bumper-0.1.0/src/version_bumper/version.py +456 -0
  46. version_bumper-0.1.0/taskfiles/hatch-vars.yaml +16 -0
  47. version_bumper-0.1.0/taskfiles/hatch.yaml +82 -0
  48. version_bumper-0.1.0/taskfiles/poetry-vars.yaml +16 -0
  49. version_bumper-0.1.0/taskfiles/poetry.yaml +78 -0
  50. version_bumper-0.1.0/taskfiles/setuptools-vars.yaml +16 -0
  51. version_bumper-0.1.0/taskfiles/setuptools.yaml +85 -0
  52. version_bumper-0.1.0/tests/config_1.toml +6 -0
  53. version_bumper-0.1.0/tests/config_2.toml +6 -0
  54. version_bumper-0.1.0/tests/config_3.toml +6 -0
  55. version_bumper-0.1.0/tests/config_4.toml +6 -0
  56. version_bumper-0.1.0/tests/good_pyproject.toml +336 -0
  57. version_bumper-0.1.0/tests/test_app_version.py +63 -0
  58. version_bumper-0.1.0/tests/test_commands.py +98 -0
  59. version_bumper-0.1.0/tests/test_config_file.py +98 -0
  60. version_bumper-0.1.0/tests/test_info_control.py +42 -0
  61. version_bumper-0.1.0/tests/test_main.py +430 -0
  62. version_bumper-0.1.0/tests/test_pyproject.py +67 -0
  63. version_bumper-0.1.0/tests/test_version.py +330 -0
  64. version_bumper-0.1.0/tox.ini +22 -0
@@ -0,0 +1,24 @@
1
+ {
2
+ "template": "https://github.com/royw/cookiecutter-clibones",
3
+ "commit": "e6f975a8979bf6ea8c935972f8f30aeb785672d4",
4
+ "checkout": null,
5
+ "context": {
6
+ "cookiecutter": {
7
+ "full_name": "Roy Wright",
8
+ "email": "roy@wright.org",
9
+ "github_username": "royw",
10
+ "project_name": "Version Bumper",
11
+ "project_slug": "version_bumper",
12
+ "project_short_description": "Python package version utility to bump a version by parts.",
13
+ "pypi_username": "royw",
14
+ "version": "0.1.0",
15
+ "open_source_license": "MIT license",
16
+ "reuse": "disabled",
17
+ "build_backend": "hatch",
18
+ "__gh_slug": "royw/version_bumper",
19
+ "_copy_without_render": ["Taskfile*.yaml", "taskfiles/*.yaml"],
20
+ "_template": "https://github.com/royw/cookiecutter-clibones"
21
+ }
22
+ },
23
+ "directory": null
24
+ }
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2024 Roy Wright
2
+
3
+ SPDX-License-Identifier: MIT
@@ -0,0 +1,21 @@
1
+ # SPDX-FileCopyrightText: 2024 Roy Wright <roy@wright.org>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ .python-version
6
+ dist/
7
+ metrics/
8
+ site/
9
+ .tox/
10
+ .nox/
11
+ .reuse/
12
+ .coverage
13
+ **/__pycache__/*.pyc
14
+ reuse.spdx
15
+ **/*_cache/
16
+ **/.cache/
17
+ tests/*.lastrun
18
+ taskfiles/front-end*.yaml
19
+ **/requirements*.txt*
20
+ src/*.egg-info
21
+ REUSE.toml
@@ -0,0 +1,17 @@
1
+ # Use shell-style glob syntax
2
+ syntax: glob
3
+
4
+ # Compiled Python files
5
+ *.pyc
6
+
7
+ # Folder view configuration files
8
+ .DS_Store
9
+ Desktop.ini
10
+
11
+ # Thumbnail cache files
12
+ ._*
13
+ Thumbs.db
14
+
15
+ # Files that might appear on external disks
16
+ .Spotlight-V100
17
+ .Trashes
@@ -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,29 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
5
+ <Languages>
6
+ <language minSize="840" name="Python" />
7
+ </Languages>
8
+ </inspection_tool>
9
+ <inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
10
+ <option name="ourVersions">
11
+ <value>
12
+ <list size="3">
13
+ <item index="0" class="java.lang.String" itemvalue="3.13" />
14
+ <item index="1" class="java.lang.String" itemvalue="3.12" />
15
+ <item index="2" class="java.lang.String" itemvalue="3.11" />
16
+ </list>
17
+ </value>
18
+ </option>
19
+ </inspection_tool>
20
+ <inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
21
+ <option name="ignoredErrors">
22
+ <list>
23
+ <option value="N806" />
24
+ </list>
25
+ </option>
26
+ </inspection_tool>
27
+ <inspection_tool class="PyProtectedMemberInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
28
+ </profile>
29
+ </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,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Poetry (version_bumper)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (version_bumper)" project-jdk-type="Python SDK" />
7
+ </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/version_bumper.iml" filepath="$PROJECT_DIR$/.idea/version_bumper.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="RuffConfigService">
4
+ <option name="globalRuffExecutablePath" value="$USER_HOME$/.pyenv/shims/ruff" />
5
+ <option name="projectRuffExecutablePath" value="$PROJECT_DIR$/.venv/bin/ruff" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,18 @@
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$/src" isTestSource="false" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.venv" />
7
+ </content>
8
+ <orderEntry type="jdk" jdkName="Python 3.12 (version_bumper)" jdkType="Python SDK" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ </component>
11
+ <component name="PyDocumentationSettings">
12
+ <option name="format" value="PLAIN" />
13
+ <option name="myDocStringFormat" value="Plain" />
14
+ </component>
15
+ <component name="TestRunnerService">
16
+ <option name="PROJECT_TEST_RUNNER" value="py.test" />
17
+ </component>
18
+ </module>