crackerjack 0.4.4__tar.gz → 0.4.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Crackerjack
3
- Version: 0.4.4
3
+ Version: 0.4.6
4
4
  Summary: Crackerjack code style
5
5
  Keywords: black ruff mypy creosote refurb
6
6
  Home-page: https://github.com/lesleslie/crackerjack
@@ -22,14 +22,14 @@ repos:
22
22
  - id: black
23
23
  language_version: python3.11
24
24
  - repo: https://github.com/charliermarsh/ruff-pre-commit
25
- rev: v0.0.288
25
+ rev: v0.0.290
26
26
  hooks:
27
27
  - id: ruff
28
28
  - repo: https://github.com/fredrikaverpil/creosote
29
29
  rev: v2.6.3
30
30
  hooks:
31
31
  - id: creosote
32
- args: [--paths, "crackerjack", --exclude-deps, "pdm-bump", "tomli-w", "google-api-core", "python-ulid"]
32
+ args: [--paths, "crackerjack", --exclude-deps, "pdm-bump", "pyright", "autotyping"]
33
33
  - repo: https://github.com/ikamensh/flynt/
34
34
  rev: '1.0.1'
35
35
  hooks:
@@ -40,7 +40,7 @@ repos:
40
40
  - id: codespell
41
41
  additional_dependencies:
42
42
  - tomli
43
- args: [--ignore-words-list, "crate"]
43
+ args: [--ignore-words-list, "crate", "uptodate"]
44
44
  - repo: local
45
45
  hooks:
46
46
  - id: autotyping
@@ -65,7 +65,7 @@ repos:
65
65
  hooks:
66
66
  - id: refurb
67
67
  - repo: https://github.com/RobertCraigie/pyright-python
68
- rev: v1.1.326
68
+ rev: v1.1.327
69
69
  hooks:
70
70
  - id: pyright
71
71
  # - repo: https://github.com/pdoc3/pdoc
@@ -79,7 +79,7 @@ repos:
79
79
  # types: [ python ]
80
80
  # always_run: true
81
81
  - repo: https://github.com/charliermarsh/ruff-pre-commit
82
- rev: v0.0.288
82
+ rev: v0.0.290
83
83
  hooks:
84
84
  - id: ruff
85
85
  - repo: https://github.com/psf/black
@@ -62,14 +62,13 @@ class Crakerjack(BaseModel):
62
62
  config_path = self.our_path / config
63
63
  pkg_config_path = self.pkg_path / config
64
64
  await pkg_config_path.touch(exist_ok=True)
65
- if config in config_files[:-2]:
66
- if self.pkg_path.stem == "crackerjack":
67
- await config_path.write_text(await pkg_config_path.read_text())
68
- config_text = await config_path.read_text()
69
- await pkg_config_path.write_text(
70
- config_text.replace("crackerjack", self.pkg_name)
71
- )
72
- run(["git", "add", config])
65
+ if self.pkg_path.stem == "crackerjack":
66
+ await config_path.write_text(await pkg_config_path.read_text())
67
+ config_text = await config_path.read_text()
68
+ await pkg_config_path.write_text(
69
+ config_text.replace("crackerjack", self.pkg_name)
70
+ )
71
+ run(["git", "add", config])
73
72
 
74
73
  @staticmethod
75
74
  async def run_interactive(hook: str) -> None:
@@ -45,7 +45,7 @@ pythonVersion = "3.11"
45
45
 
46
46
  [project]
47
47
  name = "Crackerjack"
48
- version = "0.4.4"
48
+ version = "0.4.6"
49
49
  description = "Crackerjack code style"
50
50
  requires-python = ">=3.11"
51
51
  readme = "README.md"
@@ -64,7 +64,7 @@ pythonVersion = "3.11"
64
64
 
65
65
  [project]
66
66
  name = "Crackerjack"
67
- version = "0.4.4"
67
+ version = "0.4.6"
68
68
  description = "Crackerjack code style"
69
69
  requires-python = ">=3.11"
70
70
  readme = "README.md"
File without changes
File without changes