autopub 1.0.0a45__py3-none-any.whl → 1.0.0a46__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.
@@ -22,12 +22,13 @@ class AutopubPlugin:
22
22
  _config: ConfigType | None = None
23
23
 
24
24
  def validate_config(self, config: ConfigType):
25
+ print("validate_config", config)
25
26
  configuration_class: type[BaseModel] | None = getattr(self, "Config", None)
26
27
 
27
28
  if configuration_class is None:
28
29
  return
29
30
 
30
- plugin_config = config.get(self.id, {})
31
+ plugin_config = config.get("plugin_config", {}).get(self.id, {})
31
32
 
32
33
  self._config = configuration_class.model_validate(plugin_config)
33
34
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autopub
3
- Version: 1.0.0a45
3
+ Version: 1.0.0a46
4
4
  Summary: Automatic package release upon pull request merge
5
5
  Home-page: https://github.com/autopub/autopub
6
6
  Author: Justin Mayer
@@ -2,7 +2,7 @@ autopub/__init__.py,sha256=JOFsdJMarqnRydwUibnWL8JlmijG66I340q4zdcRENs,7263
2
2
  autopub/cli/__init__.py,sha256=pIfIQaRPM8GZ1ANIWqWBZrRmaGjRGz-HiCUlPO0_q0I,3870
3
3
  autopub/exceptions.py,sha256=gNUbiG3_fVmNjhk2kyueQHPSifNgQf0Bl6IDNvkVhxQ,1534
4
4
  autopub/plugin_loader.py,sha256=2ysITgpHGUmcb1mP1Qvs-iBX2wZxmfP9obnebThwUMA,1809
5
- autopub/plugins/__init__.py,sha256=vpmk0u8nu_ex8eoEtpXJe-gpqww4OnMQaIfSDGx2XDw,2264
5
+ autopub/plugins/__init__.py,sha256=SZdHdGmY4GXnYfc6CYpRE_wmL3hsshc_pL3H5kdrFRc,2330
6
6
  autopub/plugins/bump_version.py,sha256=yOXhKHAGFb1DcmeBdh5RfwkOpEYeTqMlE69HgIyUB58,1628
7
7
  autopub/plugins/git.py,sha256=d0SMLc6hwuk0eymj8aHyu3_cEd-7x4fhkwu35wPPV4k,1054
8
8
  autopub/plugins/github.py,sha256=872I9Lm5eIORKtOSP5jpxMFqV7b4OBZ2yDoun0XflJ4,13799
@@ -12,8 +12,8 @@ autopub/plugins/update_changelog.py,sha256=g_6flOP5wocZbjOaYSayWxobL3ld8f0wT78nF
12
12
  autopub/plugins/uv.py,sha256=goo8QxaD3FVJ1c3xOSmN1hikZTCUXN8jWNac1S5uDDY,1089
13
13
  autopub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  autopub/types.py,sha256=gY1WR93XZVFS7vf5JMSmL_h5z7zO51-rtmZ6MYsh3so,1043
15
- autopub-1.0.0a45.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
- autopub-1.0.0a45.dist-info/METADATA,sha256=p_CKTUpR11QpiGPOuBTshempKityDHTw-ydzsomyi4E,992
17
- autopub-1.0.0a45.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
- autopub-1.0.0a45.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
19
- autopub-1.0.0a45.dist-info/RECORD,,
15
+ autopub-1.0.0a46.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
+ autopub-1.0.0a46.dist-info/METADATA,sha256=055XpJC57Vz1bq3otoCtvMyorxBqbo7mckLqg75JMjk,992
17
+ autopub-1.0.0a46.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
+ autopub-1.0.0a46.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
19
+ autopub-1.0.0a46.dist-info/RECORD,,