crackerjack 0.1.14__tar.gz → 0.2.1__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.

Potentially problematic release.


This version of crackerjack might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crackerjack
3
- Version: 0.1.14
3
+ Version: 0.2.1
4
4
  Summary: Crackerjack code formatting style.
5
5
  Keywords: black ruff mypy creosote refurb
6
6
  Home-page: https://github.com/lesleslie/crackerjack
@@ -8,4 +8,3 @@
8
8
  /.mypy_cache/
9
9
  /.ruff_cache/
10
10
  /.crackerjack-config.yaml
11
- /.pypirc
@@ -51,9 +51,9 @@ class Crakerjack(BaseModel):
51
51
  pkg_toml_config = await self.get_toml_config(self.pkg_toml_path)
52
52
  if self.poetry_pip_env:
53
53
  del pkg_toml_config.tool.poetry
54
- old_deps = pkg_toml_config.tool.pdm["dev-dependencies"]
54
+ pkg_deps = pkg_toml_config.tool["pdm"]["dev-dependencies"]
55
55
  pkg_toml_config.tool = our_toml_config.tool
56
- pkg_toml_config.tool.pdm["dev-dependencies"] = old_deps
56
+ pkg_toml_config.tool["pdm"]["dev-dependencies"] = pkg_deps
57
57
  if self.pkg_path.stem == "crackerjack":
58
58
  await dump.toml(pkg_toml_config.dict(), self.our_toml_path)
59
59
  else:
@@ -76,13 +76,10 @@ class Crakerjack(BaseModel):
76
76
  ".pre-commit-config.yaml",
77
77
  ".libcst.codemod.yaml",
78
78
  ".crackerjack-config.yaml",
79
- ".pypirc",
80
79
  ):
81
80
  config_path = self.our_path.parent / config
82
81
  pkg_config_path = self.pkg_path / config
83
82
  await pkg_config_path.touch(exist_ok=True)
84
- if config_path.name != ".pypirc":
85
- run(["git", "add", str(pkg_config_path)])
86
83
  if self.pkg_path.stem == "crackerjack":
87
84
  await config_path.write_text(await pkg_config_path.read_text())
88
85
  # if poetry_pip_env:
@@ -35,7 +35,7 @@ inputs = ["package_name"]
35
35
 
36
36
  [project]
37
37
  name = "Crackerjack"
38
- version = "0.1.14"
38
+ version = "0.2.1"
39
39
  description = "Crackerjack code formatting style."
40
40
  requires-python = ">=3.11"
41
41
  readme = "README.md"
@@ -44,7 +44,7 @@ inputs = [
44
44
 
45
45
  [project]
46
46
  name = "Crackerjack"
47
- version = "0.1.14"
47
+ version = "0.2.1"
48
48
  description = "Crackerjack code formatting style."
49
49
  requires-python = ">=3.11"
50
50
  readme = "README.md"
@@ -1,3 +0,0 @@
1
- [pypi]
2
- username = __token__
3
- password = pypi-AgEIcHlwaS5vcmcCJGZkNmZlOTJhLTFkNzMtNGZkNC04ZTVmLTEzODM5MmMzMjM4YgACKlszLCI2MTlkOGYyOS1jNTUzLTQwY2EtYWIyOS0yZjI4MWQ2ODhiMDciXQAABiAs4oWtrjhkqnSgLhv37S-HxAcmflCbwZYY6wo4PiSkmA
File without changes
File without changes