winipedia-utils 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl

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.
winipedia_utils/setup.py CHANGED
@@ -10,10 +10,12 @@ from winipedia_utils.git.gitignore.gitignore import _add_package_patterns_to_git
10
10
  from winipedia_utils.git.pre_commit.config import _add_package_hook_to_pre_commit_config
11
11
  from winipedia_utils.git.pre_commit.run_hooks import _run_all_hooks
12
12
  from winipedia_utils.logging.logger import get_logger
13
+ from winipedia_utils.os.os import run_subprocess
13
14
  from winipedia_utils.projects.poetry.config import (
14
15
  _add_configurations_to_pyproject_toml,
15
16
  )
16
17
  from winipedia_utils.projects.poetry.poetry import (
18
+ POETRY_RUN_ARGS,
17
19
  _install_dev_dependencies,
18
20
  )
19
21
  from winipedia_utils.projects.project import _create_project_root
@@ -27,6 +29,8 @@ def _setup() -> None:
27
29
  _install_dev_dependencies()
28
30
  # create pre-commit config
29
31
  _add_package_hook_to_pre_commit_config()
32
+ # install pre-commit
33
+ run_subprocess([*POETRY_RUN_ARGS, "pre-commit", "install"], check=True)
30
34
  # add patterns to .gitignore
31
35
  _add_package_patterns_to_gitignore()
32
36
  # add tool.* configurations to pyproject.toml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: winipedia-utils
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: A package with many utility functions
5
5
  License: MIT
6
6
  Author: Winipedia
@@ -40,7 +40,7 @@ winipedia_utils/projects/poetry/config.py,sha256=eEAU-9_uCEeOYx2lTAfydmH3D_YYTx6
40
40
  winipedia_utils/projects/poetry/poetry.py,sha256=5jyUSMxhCZ7pz9bOaz5E9r7Da9qIrGOp6wcBzI1y7Cg,932
41
41
  winipedia_utils/projects/project.py,sha256=GRprpzhasBtV9OtPhQE2HxeufOzcJgbaCZbrW34YnnE,691
42
42
  winipedia_utils/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
43
- winipedia_utils/setup.py,sha256=6zOT-5kXqpADg6wYf-S4ghEY38No_LDQL0YaIRQCFJ0,1560
43
+ winipedia_utils/setup.py,sha256=zh02NliaF2RkP1iVONVp_LbNqoZCwcB7KmAdO8QmREU,1735
44
44
  winipedia_utils/testing/__init__.py,sha256=kXhB5xw02ec5xpcW_KV--9CBKdyCjnuR-NZzAJ5tq0g,51
45
45
  winipedia_utils/testing/assertions.py,sha256=0JF4mqVTnLQ1qkAL_FuTwyN_idr00rvVlta7aDdnUXA,851
46
46
  winipedia_utils/testing/convention.py,sha256=NxC_hYaUXshsa6LL6nQoEEKpTzC1KwTloKL8aS2gUPI,5010
@@ -61,7 +61,7 @@ winipedia_utils/testing/tests/base/utils/utils.py,sha256=dUPDrgAxlfREQb33zz23Mfz
61
61
  winipedia_utils/testing/tests/conftest.py,sha256=8RounBlI8Jq1aLaLNpv84MW4ne8Qq0aavQextDOp5ng,920
62
62
  winipedia_utils/text/__init__.py,sha256=j2bwtK6kyeHI6SnoBjpRju0C1W2n2paXBDlNjNtaUxA,48
63
63
  winipedia_utils/text/string.py,sha256=1jbBftlgxffGgSlPnQh3aRPIr8XekEwpSenjFCW6JyM,3478
64
- winipedia_utils-0.1.6.dist-info/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
65
- winipedia_utils-0.1.6.dist-info/METADATA,sha256=Y6cU68IXZBTNJUSIOYbzrCcjRhIoh_Qad8mlq1kxVE4,12384
66
- winipedia_utils-0.1.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
67
- winipedia_utils-0.1.6.dist-info/RECORD,,
64
+ winipedia_utils-0.1.7.dist-info/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
65
+ winipedia_utils-0.1.7.dist-info/METADATA,sha256=eCVD7jQppbQQ-DykP6cwgehnZHpzvVloNP2qbc0LEB0,12384
66
+ winipedia_utils-0.1.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
67
+ winipedia_utils-0.1.7.dist-info/RECORD,,