devscript 0.1.1__py3-none-any.whl → 0.1.2__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.
- devscript/__init__.py +2 -2
- {devscript-0.1.1.dist-info → devscript-0.1.2.dist-info}/METADATA +1 -1
- devscript-0.1.2.dist-info/RECORD +7 -0
- devscript-0.1.1.dist-info/RECORD +0 -7
- {devscript-0.1.1.dist-info → devscript-0.1.2.dist-info}/WHEEL +0 -0
- {devscript-0.1.1.dist-info → devscript-0.1.2.dist-info}/entry_points.txt +0 -0
- {devscript-0.1.1.dist-info → devscript-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {devscript-0.1.1.dist-info → devscript-0.1.2.dist-info}/top_level.txt +0 -0
devscript/__init__.py
CHANGED
|
@@ -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.
|
|
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']
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
devscript/__init__.py,sha256=owXQwALyWL1NRth9EG-g1TniyXGg9WZYD6zCH3pIfq8,2722
|
|
2
|
+
devscript-0.1.2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
|
3
|
+
devscript-0.1.2.dist-info/METADATA,sha256=meXo3hgCGiuDwMf4j8QQTtWjQIA3kOUPln1f3Uuy__0,14005
|
|
4
|
+
devscript-0.1.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
5
|
+
devscript-0.1.2.dist-info/entry_points.txt,sha256=npG9JMkfk8V9pQZwLKU1mb5L7P5nceGF7gB4VuSEM1c,112
|
|
6
|
+
devscript-0.1.2.dist-info/top_level.txt,sha256=Tk3VhyXXyXV8jxju8RTKMKYivzFb_496RWF5YfocI5g,10
|
|
7
|
+
devscript-0.1.2.dist-info/RECORD,,
|
devscript-0.1.1.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
devscript/__init__.py,sha256=TdCIcN4tQLTCQXxZH-Vb6nKg1Z9b38VV9NQDHWnUH7c,2672
|
|
2
|
-
devscript-0.1.1.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
|
3
|
-
devscript-0.1.1.dist-info/METADATA,sha256=lYerkXe3OeJyorb3h0O_BS8c_Ymcr8f5SjTQxmJGVrk,14005
|
|
4
|
-
devscript-0.1.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
5
|
-
devscript-0.1.1.dist-info/entry_points.txt,sha256=npG9JMkfk8V9pQZwLKU1mb5L7P5nceGF7gB4VuSEM1c,112
|
|
6
|
-
devscript-0.1.1.dist-info/top_level.txt,sha256=Tk3VhyXXyXV8jxju8RTKMKYivzFb_496RWF5YfocI5g,10
|
|
7
|
-
devscript-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|