lbkit 0.9.13__tar.gz → 0.9.14__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.
Files changed (77) hide show
  1. {lbkit-0.9.13/lbkit.egg-info → lbkit-0.9.14}/PKG-INFO +7 -1
  2. lbkit-0.9.14/lbkit/__commit__.py +1 -0
  3. lbkit-0.9.14/lbkit/__init__.py +2 -0
  4. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/cli.py +47 -24
  5. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/test.py +5 -0
  6. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/misc.py +28 -17
  7. {lbkit-0.9.13 → lbkit-0.9.14/lbkit.egg-info}/PKG-INFO +7 -1
  8. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit.egg-info/requires.txt +6 -0
  9. {lbkit-0.9.13 → lbkit-0.9.14}/setup.py +26 -5
  10. lbkit-0.9.13/lbkit/__commit__.py +0 -1
  11. lbkit-0.9.13/lbkit/__init__.py +0 -2
  12. {lbkit-0.9.13 → lbkit-0.9.14}/AUTHORS +0 -0
  13. {lbkit-0.9.13 → lbkit-0.9.14}/MANIFEST.in +0 -0
  14. {lbkit-0.9.13 → lbkit-0.9.14}/README.md +0 -0
  15. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/build_conan_parallel.py +0 -0
  16. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/ci_robot/__init__.py +0 -0
  17. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/.clang-format +0 -0
  18. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/__init__.py +0 -0
  19. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/codegen.py +0 -0
  20. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/ctype_defination.py +0 -0
  21. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/idf_interface.py +0 -0
  22. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/renderer.py +0 -0
  23. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/client.c.mako +0 -0
  24. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/client.h.mako +0 -0
  25. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/interface.introspect.xml.mako +0 -0
  26. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/public.c.mako +0 -0
  27. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/public.h.mako +0 -0
  28. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/server.c.mako +0 -0
  29. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/codegen/template/server.h.mako +0 -0
  30. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/__init__.py +0 -0
  31. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/arg_parser.py +0 -0
  32. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/build.py +0 -0
  33. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/template/conanbase.mako +0 -0
  34. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/component/template/deploy.mako +0 -0
  35. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/download_cache.py +0 -0
  36. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/errors.py +0 -0
  37. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/helper.py +0 -0
  38. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/lbkit.py +0 -0
  39. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/log.py +0 -0
  40. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/skill/__init__.py +0 -0
  41. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/skill/constants.py +0 -0
  42. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/skill/manager.py +0 -0
  43. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/__init__.py +0 -0
  44. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/config.py +0 -0
  45. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/executor.py +0 -0
  46. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/image_maker/__init__.py +0 -0
  47. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/image_maker/make_image.py +0 -0
  48. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/image_maker/make_qemu_image.py +0 -0
  49. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/image_maker/make_rockchip_image.py +0 -0
  50. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task.py +0 -0
  51. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task_build_image.py +0 -0
  52. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task_build_manifest.py +0 -0
  53. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task_build_prepare.py +0 -0
  54. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task_build_rootfs.py +0 -0
  55. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/task_download.py +0 -0
  56. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/template/conanfile.py.mako +0 -0
  57. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tasks/template/rootfs.py.mako +0 -0
  58. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/tools.py +0 -0
  59. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/ukr/__init__.py +0 -0
  60. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/ukr/build.py +0 -0
  61. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/upgrade.py +0 -0
  62. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/utils/__init__.py +0 -0
  63. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/utils/env_detector.py +0 -0
  64. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/utils/fakeroot.py +0 -0
  65. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/utils/images/__init__.py +0 -0
  66. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit/utils/images/emmc.py +0 -0
  67. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit.egg-info/SOURCES.txt +0 -0
  68. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit.egg-info/dependency_links.txt +0 -0
  69. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit.egg-info/entry_points.txt +0 -0
  70. {lbkit-0.9.13 → lbkit-0.9.14}/lbkit.egg-info/top_level.txt +0 -0
  71. {lbkit-0.9.13 → lbkit-0.9.14}/setup.cfg +0 -0
  72. {lbkit-0.9.13 → lbkit-0.9.14}/test/__init__.py +0 -0
  73. {lbkit-0.9.13 → lbkit-0.9.14}/test/test_codegen.py +0 -0
  74. {lbkit-0.9.13 → lbkit-0.9.14}/test/test_config.py +0 -0
  75. {lbkit-0.9.13 → lbkit-0.9.14}/test/test_helper.py +0 -0
  76. {lbkit-0.9.13 → lbkit-0.9.14}/test/test_permission.py +0 -0
  77. {lbkit-0.9.13 → lbkit-0.9.14}/test/test_skill.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lbkit
3
- Version: 0.9.13
3
+ Version: 0.9.14
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -22,6 +22,12 @@ Requires-Dist: inflection
22
22
  Requires-Dist: meson>=1.4.0
23
23
  Requires-Dist: psutil
24
24
  Requires-Dist: loguru
25
+ Requires-Dist: pre-commit
26
+ Requires-Dist: black
27
+ Requires-Dist: isort
28
+ Requires-Dist: flake8
29
+ Requires-Dist: flake8-bugbear
30
+ Requires-Dist: flake8-comprehensions
25
31
  Dynamic: author
26
32
  Dynamic: author-email
27
33
  Dynamic: classifier
@@ -0,0 +1 @@
1
+ __commit__ = '7fd1830'
@@ -0,0 +1,2 @@
1
+
2
+ __version__ = '0.9.14'
@@ -5,29 +5,30 @@
5
5
  # Free Software Foundation; either version 3 of the License, or (at your
6
6
  # option) any later version.
7
7
  """lbkit命令行入口"""
8
+ import argparse
8
9
  import inspect
9
10
  import os
10
11
  import signal
11
12
  import sys
12
- import argparse
13
13
  import traceback
14
+
14
15
  from lbkit import __version__ as client_version
16
+
15
17
  try:
16
18
  from lbkit.__commit__ import __commit__ as client_commit
17
19
  except ImportError:
18
20
  client_commit = ""
21
+ from lbkit import errors, misc
19
22
  from lbkit.codegen.codegen import CodeGen
23
+ from lbkit.component.arg_parser import ArgParser
20
24
  from lbkit.component.build import BuildComponent
21
25
  from lbkit.component.test import TestComponent
22
- from lbkit.tasks.executor import Executor
23
- from lbkit.component.arg_parser import ArgParser
24
26
  from lbkit.log import Logger
25
- from lbkit import misc
26
- from lbkit import errors
27
- from lbkit.ukr.build import UKRBuild
28
- from lbkit.utils.env_detector import EnvDetector
29
27
  from lbkit.skill.manager import sync as skill_sync
28
+ from lbkit.tasks.executor import Executor
29
+ from lbkit.ukr.build import UKRBuild
30
30
  from lbkit.upgrade import upgrade as do_upgrade
31
+ from lbkit.utils.env_detector import EnvDetector
31
32
 
32
33
  log = Logger()
33
34
 
@@ -48,15 +49,16 @@ class Command(object):
48
49
  parsing of parameters and delegates functionality in collaborators. It can also show the
49
50
  help of the tool.
50
51
  """
52
+
51
53
  def __init__(self):
52
54
  pass
55
+
53
56
  def help(self, *args):
54
57
  """
55
58
  Shows help for a specific command.
56
59
  """
57
60
 
58
- parser = argparse.ArgumentParser(description=self.help.__doc__,
59
- prog="lbkit help")
61
+ parser = argparse.ArgumentParser(description=self.help.__doc__, prog="lbkit help")
60
62
  parser.add_argument("command", help='command', nargs="?")
61
63
  args = parser.parse_args(*args)
62
64
  if not args.command:
@@ -135,16 +137,36 @@ class Command(object):
135
137
  """
136
138
  do_upgrade(*args)
137
139
 
140
+ def hooks_path(self, *args):
141
+ """
142
+ 输出 pre-commit hooks 安装路径.
143
+
144
+ 供 CI/脚本使用,输出 hooks 目录的绝对路径
145
+ """
146
+ import os
147
+
148
+ hooks_dir = misc.HOOKS_DIR
149
+ if not os.path.isdir(hooks_dir):
150
+ # fallback: 查找源码树内的 hooks
151
+ import lbkit
152
+
153
+ pkg_dir = os.path.dirname(os.path.dirname(os.path.abspath(lbkit.__file__)))
154
+ candidate = os.path.join(pkg_dir, "pre-commit-hooks")
155
+ if os.path.isdir(candidate):
156
+ hooks_dir = candidate
157
+ print(hooks_dir)
158
+
138
159
  def _show_help(self):
139
160
  """
140
161
  Prints a summary of all commands.
141
162
  """
142
- grps = [("Code Generate commands", ["gen"]),
143
- ("Build Component commands", ["build", "test"]),
144
- ("Build Product commands", ["build"]),
145
- ("AI Skill commands", ["skill"]),
146
- ("Misc commands", ["upgrade", "help"]),
147
- ]
163
+ grps = [
164
+ ("Code Generate commands", ["gen"]),
165
+ ("Build Component commands", ["build", "test"]),
166
+ ("Build Product commands", ["build"]),
167
+ ("AI Skill commands", ["skill"]),
168
+ ("Misc commands", ["upgrade", "hooks_path", "help"]),
169
+ ]
148
170
 
149
171
  def check_all_commands_listed():
150
172
  """Keep updated the main directory, raise if don't"""
@@ -163,9 +185,9 @@ class Command(object):
163
185
  print(group_name + ":")
164
186
  for name in comm_names:
165
187
  # future-proof way to ensure tabular formatting
166
- output = (fmt % (misc.Color.GREEN + name + misc.Color.RESET_ALL))
188
+ output = fmt % (misc.Color.GREEN + name + misc.Color.RESET_ALL)
167
189
  if len(output) < 32:
168
- space = " "*(32 - len(output))
190
+ space = " " * (32 - len(output))
169
191
  output += space
170
192
 
171
193
  # Help will be all the lines up to the first empty one
@@ -182,15 +204,15 @@ class Command(object):
182
204
  data.append(line)
183
205
 
184
206
  import textwrap
185
- output += textwrap.fill(' '.join(data), 80, subsequent_indent=" "*(max_len+2))
207
+
208
+ output += textwrap.fill(' '.join(data), 80, subsequent_indent=" " * (max_len + 2))
186
209
  print(output)
187
210
 
188
211
  print("")
189
212
  print('LiteBmcKit commands. Type "litebmc <command> -h" for help')
190
213
 
191
214
  def _commands(self):
192
- """ Returns a list of available commands.
193
- """
215
+ """Returns a list of available commands."""
194
216
  result = {}
195
217
  for m in inspect.getmembers(self, predicate=inspect.ismethod):
196
218
  method_name = m[0]
@@ -201,13 +223,13 @@ class Command(object):
201
223
  return result
202
224
 
203
225
  def _warn_python_version(self):
204
- import textwrap
205
-
206
226
  width = 70
207
227
  version = sys.version_info
208
228
  if version.major < 3:
209
- log.info("*"*width + "\nPython 2 support has been dropped. It is strongly "
210
- "recommended to use Python >= 3.0\n" + "*"*width)
229
+ log.info(
230
+ "*" * width + "\nPython 2 support has been dropped. It is strongly "
231
+ "recommended to use Python >= 3.0\n" + "*" * width
232
+ )
211
233
 
212
234
  def run(self, *args):
213
235
  """HIDDEN: entry point for executing commands, dispatcher to class
@@ -268,6 +290,7 @@ def main(args):
268
290
  # 使能revision功能
269
291
  os.environ["CONAN_REVISIONS_ENABLED"] = "1"
270
292
  os.makedirs(misc.LOG_DIR, exist_ok=True)
293
+
271
294
  def ctrl_c_handler(_, __):
272
295
  sys.exit(-3)
273
296
 
@@ -217,6 +217,11 @@ class TestComponent():
217
217
  return 0
218
218
 
219
219
  log.success("call test method...")
220
+ # 为增加可定位性,测试时将日志写入文件,等级定为debug
221
+ if os.environ.get("LOG_LEVEL") is None:
222
+ os.environ["LOG_LEVEL"] = "debug"
223
+ if os.environ.get("LOG_TYPE") is None:
224
+ os.environ["LOG_TYPE"] = "file"
220
225
  ret = test.test()
221
226
  if ret is not None:
222
227
  if isinstance(ret, unittest.TestResult) and (len(ret.errors) > 0 or len(ret.failures) > 0):
@@ -4,28 +4,31 @@
4
4
  # under the terms of the GNU General Public License as published by the
5
5
  # Free Software Foundation; either version 3 of the License, or (at your
6
6
  # option) any later version.
7
- import os
8
7
  import argparse
9
- import textwrap
8
+ import fcntl
10
9
  import json
11
- import yaml
10
+ import os
12
11
  import re
13
- import requests
14
- import fcntl
12
+ import textwrap
15
13
  from pathlib import Path
16
14
  from string import Template
15
+
16
+ import requests
17
+ import yaml
17
18
  from colorama import Fore, Style
18
- from jsonschema import validate, ValidationError
19
- from lbkit.errors import PackageConfigException, HttpRequestException
19
+ from jsonschema import ValidationError, validate
20
+
21
+ from lbkit.errors import HttpRequestException, PackageConfigException
20
22
 
21
23
  LOG_DIR = os.path.join(Path.home(), ".cache", "lbkit", "log")
22
24
  DOWNLOAD_CACHE_DIR = os.path.join(Path.home(), ".cache", "litebmc", "download")
23
25
  TARGETS_DIR = "/usr/share/litebmc/targets"
26
+ HOOKS_DIR = "/usr/share/litebmc/pre-commit-hooks"
24
27
 
25
28
 
26
29
  class Color(object):
27
- """ Wrapper around colorama colors that are undefined in importing
28
- """
30
+ """Wrapper around colorama colors that are undefined in importing"""
31
+
29
32
  RED = Fore.RED # @UndefinedVariable
30
33
  WHITE = Fore.WHITE # @UndefinedVariable
31
34
  CYAN = Fore.CYAN # @UndefinedVariable
@@ -40,9 +43,9 @@ class Color(object):
40
43
  BRIGHT_BLUE = Style.BRIGHT + Fore.BLUE # @UndefinedVariable
41
44
  BRIGHT_YELLOW = Style.BRIGHT + Fore.YELLOW # @UndefinedVariable
42
45
  BRIGHT_GREEN = Style.BRIGHT + Fore.GREEN # @UndefinedVariable
43
- BRIGHT_CYAN = Style.BRIGHT + Fore.CYAN # @UndefinedVariable
44
- BRIGHT_WHITE = Style.BRIGHT + Fore.WHITE # @UndefinedVariable
45
- BRIGHT_MAGENTA = Style.BRIGHT + Fore.MAGENTA # @UndefinedVariable
46
+ BRIGHT_CYAN = Style.BRIGHT + Fore.CYAN # @UndefinedVariable
47
+ BRIGHT_WHITE = Style.BRIGHT + Fore.WHITE # @UndefinedVariable
48
+ BRIGHT_MAGENTA = Style.BRIGHT + Fore.MAGENTA # @UndefinedVariable
46
49
 
47
50
 
48
51
  if os.environ.get("COLOR_DARK", 0):
@@ -54,8 +57,10 @@ if os.environ.get("COLOR_DARK", 0):
54
57
  Color.BRIGHT_YELLOW = Fore.MAGENTA
55
58
  Color.BRIGHT_GREEN = Fore.GREEN
56
59
 
60
+
57
61
  class SmartFormatter(argparse.HelpFormatter):
58
62
  """重写HelpFormatter"""
63
+
59
64
  def _fill_text(self, text, width, indent):
60
65
  """重写HelpFormatter"""
61
66
  text = textwrap.dedent(text)
@@ -71,6 +76,7 @@ class SmartFormatter(argparse.HelpFormatter):
71
76
  ret.extend(super()._split_lines(line, width))
72
77
  return ret
73
78
 
79
+
74
80
  def get_json_schema_file(yml_file, default_json_schema_file):
75
81
  """使用json schema文件校验yml_file配置文件"""
76
82
  with open(yml_file, "r") as fp:
@@ -80,6 +86,7 @@ def get_json_schema_file(yml_file, default_json_schema_file):
80
86
  return match.group(1)
81
87
  return default_json_schema_file
82
88
 
89
+
83
90
  def load_json_schema(schema_file):
84
91
  """使用json schema文件校验yml_file配置文件"""
85
92
  if schema_file.startswith("https://litebmc.com/"):
@@ -94,6 +101,7 @@ def load_json_schema(schema_file):
94
101
  tmp = fp.read()
95
102
  return json.loads(tmp)
96
103
 
104
+
97
105
  def load_yml_with_json_schema_validate(yml_file, default_json_schema_file, **kwargs):
98
106
  """使用json schema文件校验yml_file配置文件"""
99
107
  schema_file = get_json_schema_file(yml_file, default_json_schema_file)
@@ -110,11 +118,14 @@ def load_yml_with_json_schema_validate(yml_file, default_json_schema_file, **kwa
110
118
  validate(data, schema)
111
119
  return data
112
120
  except ValidationError as exc:
113
- raise PackageConfigException(f"validate {yml_file} failed, schema file is {schema_file}, "
114
- f"message: {exc.message}\n"
115
- "installing redhat.vscode-yaml plugin in vscode will help you write odf files")
121
+ raise PackageConfigException(
122
+ f"validate {yml_file} failed, schema file is {schema_file}, "
123
+ f"message: {exc.message}\n"
124
+ "installing redhat.vscode-yaml plugin in vscode will help you write odf files"
125
+ )
126
+
116
127
 
117
- class DownloadFlag():
128
+ class DownloadFlag:
118
129
  @staticmethod
119
130
  def clean(filename):
120
131
  """清理文件标记"""
@@ -152,4 +163,4 @@ class DownloadFlag():
152
163
  if len(content) == 0:
153
164
  return "", ""
154
165
  chunk = content.split("|")
155
- return chunk[0], chunk[1]
166
+ return chunk[0], chunk[1]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lbkit
3
- Version: 0.9.13
3
+ Version: 0.9.14
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -22,6 +22,12 @@ Requires-Dist: inflection
22
22
  Requires-Dist: meson>=1.4.0
23
23
  Requires-Dist: psutil
24
24
  Requires-Dist: loguru
25
+ Requires-Dist: pre-commit
26
+ Requires-Dist: black
27
+ Requires-Dist: isort
28
+ Requires-Dist: flake8
29
+ Requires-Dist: flake8-bugbear
30
+ Requires-Dist: flake8-comprehensions
25
31
  Dynamic: author
26
32
  Dynamic: author-email
27
33
  Dynamic: classifier
@@ -10,3 +10,9 @@ inflection
10
10
  meson>=1.4.0
11
11
  psutil
12
12
  loguru
13
+ pre-commit
14
+ black
15
+ isort
16
+ flake8
17
+ flake8-bugbear
18
+ flake8-comprehensions
@@ -6,17 +6,19 @@
6
6
  # option) any later version.
7
7
  import os
8
8
  import re
9
- from setuptools import setup, find_packages
9
+
10
+ from setuptools import find_packages, setup
11
+
10
12
 
11
13
  def load_version():
12
- """ Loads a file content """
13
- filename = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
14
- "lbkit", "__init__.py"))
14
+ """Loads a file content"""
15
+ filename = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "lbkit", "__init__.py"))
15
16
  with open(filename, "rt") as version_file:
16
17
  litebmc_init = version_file.read()
17
18
  version = re.search(r"__version__ = '([0-9.]+)'", litebmc_init).group(1)
18
19
  return version
19
20
 
21
+
20
22
  setup(
21
23
  name="lbkit",
22
24
  version=load_version(),
@@ -25,7 +27,26 @@ setup(
25
27
  description="Tools provided by litebmc.com",
26
28
  long_description="build and code generate tools",
27
29
  long_description_content_type="text/markdown",
28
- install_requires=["pyyaml", "colorama", "mako", "node-semver>=0.6.1", "jsonschema", "conan", "requests", "gitpython", "inflection", "meson>=1.4.0", "psutil", "loguru"],
30
+ install_requires=[
31
+ "pyyaml",
32
+ "colorama",
33
+ "mako",
34
+ "node-semver>=0.6.1",
35
+ "jsonschema",
36
+ "conan",
37
+ "requests",
38
+ "gitpython",
39
+ "inflection",
40
+ "meson>=1.4.0",
41
+ "psutil",
42
+ "loguru",
43
+ "pre-commit",
44
+ "black",
45
+ "isort",
46
+ "flake8",
47
+ "flake8-bugbear",
48
+ "flake8-comprehensions",
49
+ ],
29
50
  url="https://www.litebmc.com",
30
51
  packages=find_packages(),
31
52
  include_package_data=True,
@@ -1 +0,0 @@
1
- __commit__ = '014a769'
@@ -1,2 +0,0 @@
1
-
2
- __version__ = '0.9.13'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes