string-to-code 0.2.12__tar.gz → 0.2.13__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 (23) hide show
  1. {string_to_code-0.2.12 → string_to_code-0.2.13}/PKG-INFO +1 -1
  2. {string_to_code-0.2.12 → string_to_code-0.2.13}/pyproject.toml +2 -2
  3. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/core.py +1 -2
  4. {string_to_code-0.2.12 → string_to_code-0.2.13}/LICENSE +0 -0
  5. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/README.md +0 -0
  6. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/__init__.py +0 -0
  7. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/c_like_utils.py +0 -0
  8. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/string_to_code.py +0 -0
  9. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_ada.py +0 -0
  10. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_algol68.py +0 -0
  11. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_ballerina.py +0 -0
  12. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_bash.py +0 -0
  13. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_c.py +0 -0
  14. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_cobol.py +0 -0
  15. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_cpp.py +0 -0
  16. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_haskell.py +0 -0
  17. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_java.py +0 -0
  18. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_lisp.py +0 -0
  19. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_nim.py +0 -0
  20. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_pascal.py +0 -0
  21. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_python3.py +0 -0
  22. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/to_rust.py +0 -0
  23. {string_to_code-0.2.12 → string_to_code-0.2.13}/string_to_code/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: string-to-code
3
- Version: 0.2.12
3
+ Version: 0.2.13
4
4
  Summary: Generates a piece of messy code in a given language displaying a given string
5
5
  Home-page: https://github.com/vil02/string_to_code_proj
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "string-to-code"
3
- version = "0.2.12"
3
+ version = "0.2.13"
4
4
  description = "Generates a piece of messy code in a given language displaying a given string "
5
5
  authors = ["piotr.idzik <vil02@o2.pl>"]
6
6
  readme = "./string_to_code/README.md"
@@ -21,7 +21,7 @@ pytest-mock = ">3.0"
21
21
  pylint = ">=2.0"
22
22
  flake8 = ">=5.0"
23
23
  flake8-pytest-style = "2.0.0"
24
- ruff = "0.5.2"
24
+ ruff = "0.5.3"
25
25
  coverage = ">=6.0"
26
26
  black = ">=24.1"
27
27
  mypy = ">=1.7"
@@ -3,7 +3,6 @@ core functions of the string_to_code module
3
3
  """
4
4
 
5
5
  import typing
6
- import collections.abc
7
6
  import random
8
7
  import functools
9
8
 
@@ -73,7 +72,7 @@ def _interesting_random_split(in_str: str) -> Strings:
73
72
 
74
73
  def get_function_namer(
75
74
  in_name_prefix: str = "f_",
76
- ) -> collections.abc.Callable[[int], str]:
75
+ ) -> typing.Callable[[int], str]:
77
76
  """returns a default function namer"""
78
77
 
79
78
  def _inner(in_id: int) -> str:
File without changes