pipe21 1.23.0__tar.gz → 1.24.0__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.
pipe21-1.24.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Alexander Rodionov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,21 +1,24 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pipe21
3
- Version: 1.23.0
3
+ Version: 1.24.0
4
4
  Summary: simple functional pipes
5
5
  Author-email: Alexander Rodionov <tandav@tandav.me>
6
6
  Project-URL: source, https://github.com/tandav/pipe21
7
7
  Project-URL: docs, https://tandav.github.io/pipe21/
8
8
  Project-URL: issues, https://github.com/tandav/pipe21/issues
9
9
  Project-URL: release notes, https://github.com/tandav/pipe21/releases
10
- Requires-Python: >=3.8
10
+ Requires-Python: >=3.11
11
11
  Description-Content-Type: text/markdown
12
+ License-File: LICENSE
12
13
  Provides-Extra: dev
13
14
  Requires-Dist: bumpver; extra == "dev"
14
15
  Requires-Dist: pre-commit; extra == "dev"
15
16
  Requires-Dist: hypothesis; extra == "dev"
17
+ Requires-Dist: mypy; extra == "dev"
16
18
  Requires-Dist: pytest; extra == "dev"
17
19
  Requires-Dist: mkdocs; extra == "dev"
18
20
  Requires-Dist: mkdocs-material; extra == "dev"
21
+ Dynamic: license-file
19
22
 
20
23
  [![PyPI version](https://img.shields.io/pypi/v/pipe21.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/pipe21/)
21
24
  [![Coverage Status](https://coveralls.io/repos/github/tandav/pipe21/badge.svg?branch=coveralls-bage)](https://coveralls.io/github/tandav/pipe21?branch=coveralls-bage)
@@ -1,21 +1,24 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pipe21
3
- Version: 1.23.0
3
+ Version: 1.24.0
4
4
  Summary: simple functional pipes
5
5
  Author-email: Alexander Rodionov <tandav@tandav.me>
6
6
  Project-URL: source, https://github.com/tandav/pipe21
7
7
  Project-URL: docs, https://tandav.github.io/pipe21/
8
8
  Project-URL: issues, https://github.com/tandav/pipe21/issues
9
9
  Project-URL: release notes, https://github.com/tandav/pipe21/releases
10
- Requires-Python: >=3.8
10
+ Requires-Python: >=3.11
11
11
  Description-Content-Type: text/markdown
12
+ License-File: LICENSE
12
13
  Provides-Extra: dev
13
14
  Requires-Dist: bumpver; extra == "dev"
14
15
  Requires-Dist: pre-commit; extra == "dev"
15
16
  Requires-Dist: hypothesis; extra == "dev"
17
+ Requires-Dist: mypy; extra == "dev"
16
18
  Requires-Dist: pytest; extra == "dev"
17
19
  Requires-Dist: mkdocs; extra == "dev"
18
20
  Requires-Dist: mkdocs-material; extra == "dev"
21
+ Dynamic: license-file
19
22
 
20
23
  [![PyPI version](https://img.shields.io/pypi/v/pipe21.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/pipe21/)
21
24
  [![Coverage Status](https://coveralls.io/repos/github/tandav/pipe21/badge.svg?branch=coveralls-bage)](https://coveralls.io/github/tandav/pipe21?branch=coveralls-bage)
@@ -1,3 +1,4 @@
1
+ LICENSE
1
2
  README.md
2
3
  pipe21.py
3
4
  pyproject.toml
@@ -3,6 +3,7 @@
3
3
  bumpver
4
4
  pre-commit
5
5
  hypothesis
6
+ mypy
6
7
  pytest
7
8
  mkdocs
8
9
  mkdocs-material
@@ -4,7 +4,7 @@ import operator
4
4
  import re
5
5
  import sys
6
6
 
7
- __version__ = '1.23.0'
7
+ __version__ = '1.24.0'
8
8
 
9
9
 
10
10
  class B:
@@ -1,24 +1,21 @@
1
1
  [project]
2
2
  name = "pipe21"
3
- version = "1.23.0"
3
+ version = "1.24.0"
4
4
  authors = [
5
5
  {name = "Alexander Rodionov", email = "tandav@tandav.me"},
6
6
  ]
7
7
  description = "simple functional pipes"
8
8
  readme = "README.md"
9
- requires-python = ">=3.8"
9
+ requires-python = ">=3.11"
10
10
  dependencies = []
11
11
 
12
12
  [project.optional-dependencies]
13
13
  dev = [
14
14
  "bumpver",
15
- # "black",
16
- # "autopep8",
17
15
  "pre-commit",
18
16
  "hypothesis",
17
+ "mypy",
19
18
  "pytest",
20
- # "pytest-cov",
21
- # "coveralls",
22
19
  "mkdocs",
23
20
  "mkdocs-material",
24
21
  ]
@@ -38,7 +35,7 @@ build-backend = "setuptools.build_meta"
38
35
  # ==============================================================================
39
36
 
40
37
  [tool.bumpver]
41
- current_version = "v1.23.0"
38
+ current_version = "v1.24.0"
42
39
  version_pattern = "vMAJOR.MINOR.PATCH"
43
40
  commit_message = "bump version {old_version} -> {new_version}"
44
41
  commit = true
@@ -56,6 +53,8 @@ tag = true
56
53
  # ==============================================================================
57
54
 
58
55
  [tool.mypy]
56
+ # pipe21.py is intentionally untyped and dynamic, its public api is typed in pipe21.pyi
57
+ files = ["pipe21.pyi", "tests"]
59
58
  # todo: review this
60
59
  pretty = true
61
60
  show_traceback = true
@@ -86,7 +85,7 @@ disallow_untyped_defs = false
86
85
 
87
86
  # ==============================================================================
88
87
 
89
- [tool.ruff]
88
+ [tool.ruff.lint]
90
89
  select = ["ALL"]
91
90
  ignore = [
92
91
  "E501", # line too long
@@ -97,8 +96,9 @@ ignore = [
97
96
  "F405", # star imports
98
97
  "B008", # function-call-in-default-argument
99
98
  "PLR0913", # too-many-arguments
100
- "TCH003", # typing-only-standard-library-import
99
+ "TC003", # typing-only-standard-library-import
101
100
  "ANN", # type annotations
101
+ "CPY", # copyright notice
102
102
  "D", #docstrings
103
103
  "Q", # quotes
104
104
  "ARG005", # Unused lambda argument
@@ -107,7 +107,7 @@ ignore = [
107
107
  "SIM115",
108
108
  ]
109
109
 
110
- [tool.ruff.per-file-ignores]
110
+ [tool.ruff.lint.per-file-ignores]
111
111
  "examples/*" = ["INP001"]
112
112
  "tests/*" = [
113
113
  "S101",
@@ -115,17 +115,20 @@ ignore = [
115
115
  "PT001",
116
116
  ]
117
117
 
118
- [tool.ruff.isort]
118
+ [tool.ruff.lint.isort]
119
119
  force-single-line = true
120
120
 
121
121
  # ==============================================================================
122
122
 
123
- [tool.pylint.MASTER]
123
+ [tool.pylint.main]
124
124
  load-plugins=[
125
125
  "pylint_per_file_ignores",
126
126
  ]
127
127
 
128
128
  [tool.pylint.messages-control]
129
+ per-file-ignores = [
130
+ "tests/*:import-error,redefined-outer-name",
131
+ ]
129
132
  disable = [
130
133
  "invalid-name",
131
134
  "missing-function-docstring",
@@ -142,9 +145,6 @@ disable = [
142
145
  "consider-using-with",
143
146
  ]
144
147
 
145
- [tool.pylint-per-file-ignores]
146
- "/tests/" = "import-error,redefined-outer-name"
147
-
148
148
  # ==============================================================================
149
149
 
150
150
  [tool.autopep8]
File without changes
File without changes