devscript 0.1.1__tar.gz → 0.1.2__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.4
2
2
  Name: devscript
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A utility for managing custom development scripts via JSON or TOML configuration
5
5
  Author-email: "Маг Ильяс DOMA (MagIlyasDOMA)" <magilyas.doma.09@list.ru>
6
6
  License: GPL-3.0-only
@@ -2,7 +2,7 @@ import argparse, os, json, tomllib, yaml
2
2
  from dataclasses import dataclass
3
3
  from typing import Literal
4
4
 
5
- __version__ = '0.1.0'
5
+ __version__ = '0.1.2'
6
6
 
7
7
 
8
8
  @dataclass
@@ -22,7 +22,7 @@ class DevScriptCore:
22
22
  self.config = self._config_obj.data
23
23
  self._config_file = 'devscript.yaml'
24
24
  elif self._config_obj.type == 'toml':
25
- self.config = self._config_obj.data['devscript']
25
+ self.config = self._config_obj.data.get('tool')['devscript'] or self._config_obj.data['devscript']
26
26
  self._config_file = 'pyproject.toml'
27
27
  elif self._config_obj.type == 'npmjs':
28
28
  self.config = self._config_obj.data['devscript']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devscript
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A utility for managing custom development scripts via JSON or TOML configuration
5
5
  Author-email: "Маг Ильяс DOMA (MagIlyasDOMA)" <magilyas.doma.09@list.ru>
6
6
  License: GPL-3.0-only
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "devscript"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "A utility for managing custom development scripts via JSON or TOML configuration"
9
9
  requires-python = ">=3.8"
10
10
  license = {text = "GPL-3.0-only"}
File without changes
File without changes
File without changes