foundrytools-cli 2.0.1__py3-none-any.whl → 2.0.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.
@@ -1,3 +1,3 @@
1
- VERSION = __version__ = "2.0.1"
1
+ VERSION = __version__ = "2.0.2"
2
2
 
3
3
  __all__ = ["VERSION"]
@@ -54,17 +54,15 @@ class BaseCommand(click.Command):
54
54
  """,
55
55
  ),
56
56
  click.Option(
57
- ["-rbb", "--recalc-bboxes", "recalc_bboxes"],
57
+ ["-no-rbb", "--no-recalc-bboxes", "recalc_bboxes"],
58
58
  is_flag=True,
59
- default=False,
59
+ default=True,
60
60
  help="""
61
- Recalculate the font's bounding boxes on save.
61
+ Do not recalculate the font's bounding boxes on save.
62
62
 
63
63
  By default, ``glyf``, ``CFF ``, ``head`` bounding box values and ``hhea``/``vhea``
64
- min/max values are not recalculated on save.
65
-
66
- When this option is active, the glyphs are compiled on importing, which saves memory
67
- consumption and time.
64
+ min/max values are recalculated on save. Also, the glyphs are compiled on importing,
65
+ which saves memory consumption and time.
68
66
  """,
69
67
  ),
70
68
  click.Option(
@@ -194,6 +194,6 @@ class TaskRunner: # pylint: disable=too-few-public-methods
194
194
  @staticmethod
195
195
  def _log_error(e: Exception) -> None:
196
196
  if hasattr(e, "__module__"):
197
- logger.opt(colors=True).error(f"<lr>{e.__module__}.{type(e).__name__}</lr>: {e}")
197
+ logger.opt(colors=True).exception(f"<lr>{e.__module__}.{type(e).__name__}</lr>: {e}")
198
198
  else:
199
- logger.opt(colors=True).error(f"<lr>{type(e).__name__}</lr>: {e}")
199
+ logger.opt(colors=True).exception(f"<lr>{type(e).__name__}</lr>: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foundrytools-cli
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: A set of command line tools to inspect, manipulate and convert font files
5
5
  Project-URL: Homepage, https://github.com/ftCLI/FoundryTools-CLI
6
6
  Author-email: Cesare Gilento <ftcli@proton.me>
@@ -27,15 +27,6 @@ Requires-Dist: loguru>=0.7.3
27
27
  Requires-Dist: pathvalidate>=3.2.3
28
28
  Requires-Dist: rich>=14.0.0
29
29
  Requires-Dist: win32-setctime>=1.2.0; sys_platform >= 'win32'
30
- Provides-Extra: dev
31
- Requires-Dist: bump-my-version>=1.1.2; extra == 'dev'
32
- Requires-Dist: hatch>=1.14.1; extra == 'dev'
33
- Requires-Dist: mypy>=1.15.0; extra == 'dev'
34
- Requires-Dist: pre-commit>=4.2.0; extra == 'dev'
35
- Requires-Dist: pylint>=3.3.6; extra == 'dev'
36
- Provides-Extra: docs
37
- Requires-Dist: sphinx-click>=6.0.0; extra == 'docs'
38
- Requires-Dist: sphinx-rtd-theme>=3.0.2; extra == 'docs'
39
30
  Description-Content-Type: text/markdown
40
31
 
41
32
  # FoundryTools-CLI
@@ -1,4 +1,4 @@
1
- foundrytools_cli/__init__.py,sha256=rhZgfEvm2lwG26pu5js4B10wHi-jLdIcp-O3FN5fqRo,55
1
+ foundrytools_cli/__init__.py,sha256=rQLFdxwqnWiRNOolWLG4EmGq2YPMOkvlP2aIIsOLJsI,55
2
2
  foundrytools_cli/__main__.py,sha256=KbGmBzK1G41I6uLPlw4tOWcN4KBdN3t-9JP7-JdiBa8,1319
3
3
  foundrytools_cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  foundrytools_cli/commands/cff.py,sha256=892d4o4s6rE9tUIFDN-UjwLayGwDXvMuiG3MZOdJrGE,3359
@@ -27,12 +27,12 @@ foundrytools_cli/commands/utils/cli.py,sha256=UM190Rc6Ne04OkNVUOeHWrW8Cwc_V_ZrI8
27
27
  foundrytools_cli/commands/utils/font_organizer.py,sha256=9biz8Cxg81qNGtK53zp4xhgncbItE5xRXBL1Y1ZWHqg,4096
28
28
  foundrytools_cli/commands/utils/font_renamer.py,sha256=udjYOQ7UsqvC-dGRrF3BHbF9vP7OLbK7_2cwpiyOAHM,3255
29
29
  foundrytools_cli/commands/utils/sync_timestamps.py,sha256=mgmuX6-X07c1mw0pyBqG694_mQiBZjpPolBEjxa8Wvc,4127
30
- foundrytools_cli/utils/__init__.py,sha256=Zl813u_xt5oyP2f3ipKHrpcZVWEhiEUCp8bd10vJRrQ,8033
30
+ foundrytools_cli/utils/__init__.py,sha256=OHiBHGK9qmQ8UQKwOfRQi3bFZUm-LmcfB94AKI0PFSk,8002
31
31
  foundrytools_cli/utils/logger.py,sha256=ZjVgZ1AmzwwH1GEnBU1HP-pFvZv0BKkVV93P2gYvnLc,525
32
- foundrytools_cli/utils/task_runner.py,sha256=NHCRD9XZP-DE3kEXbi49btL_qHID4P5HlRYzDOlqWB0,7106
32
+ foundrytools_cli/utils/task_runner.py,sha256=DZMTt_yByOD7wvAAxkiOLYj-Z0kiNOaeOdimcx0_jwE,7114
33
33
  foundrytools_cli/utils/timer.py,sha256=if4mLjDhTIhoAd_ZxydtHp8Ng9y7lG3VjqxOix4M0so,1862
34
- foundrytools_cli-2.0.1.dist-info/METADATA,sha256=BDy1qRZEY-iouFRvPs8AZ0VpJU_85_7HIyc8UGx31CQ,4322
35
- foundrytools_cli-2.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
36
- foundrytools_cli-2.0.1.dist-info/entry_points.txt,sha256=XX4k3N-0V31ud8NYeP3OmJOYAw0TvQRVoI-4EjAqUeA,56
37
- foundrytools_cli-2.0.1.dist-info/licenses/LICENSE,sha256=HC65UCqmXvm2I_reaA8aNfdbLcZrslY5loz0JDmRYAE,1062
38
- foundrytools_cli-2.0.1.dist-info/RECORD,,
34
+ foundrytools_cli-2.0.2.dist-info/METADATA,sha256=j6toAw5IFbXkLXEDAKj6U8AFGDix9MLRaR0caoZsCCk,3936
35
+ foundrytools_cli-2.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
36
+ foundrytools_cli-2.0.2.dist-info/entry_points.txt,sha256=XX4k3N-0V31ud8NYeP3OmJOYAw0TvQRVoI-4EjAqUeA,56
37
+ foundrytools_cli-2.0.2.dist-info/licenses/LICENSE,sha256=HC65UCqmXvm2I_reaA8aNfdbLcZrslY5loz0JDmRYAE,1062
38
+ foundrytools_cli-2.0.2.dist-info/RECORD,,