Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit 7b94c63

Browse files
authored
Bump version (#31)
* pre-commit autoupdate * pre-commit run --all-files --hook-stage manual * bumped version * updated metadata * updated stubs
1 parent 027e6ea commit 7b94c63

6 files changed

Lines changed: 51 additions & 20 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
- src
5050
pass_filenames: false
5151
- repo: https://github.com/psf/black
52-
rev: 23.10.1
52+
rev: 23.11.0
5353
hooks:
5454
- id: black
5555
args:
@@ -75,7 +75,7 @@ repos:
7575
- src
7676
pass_filenames: false
7777
- repo: https://github.com/pre-commit/mirrors-mypy
78-
rev: v1.6.1
78+
rev: v1.7.0
7979
hooks:
8080
- id: mypy
8181
additional_dependencies:
@@ -98,14 +98,14 @@ repos:
9898
stages:
9999
- manual
100100
- repo: https://github.com/RobertCraigie/pyright-python
101-
rev: v1.1.334
101+
rev: v1.1.336
102102
hooks:
103103
- id: pyright
104104
pass_filenames: false
105105
stages:
106106
- manual
107107
- repo: https://github.com/astral-sh/ruff-pre-commit
108-
rev: v0.1.4
108+
rev: v0.1.6
109109
hooks:
110110
- id: ruff
111111
args:
@@ -152,7 +152,7 @@ repos:
152152
- src
153153
pass_filenames: false
154154
- repo: https://github.com/tox-dev/pyproject-fmt
155-
rev: 1.4.1
155+
rev: 1.5.1
156156
hooks:
157157
- id: pyproject-fmt
158158
- repo: https://github.com/abravalheri/validate-pyproject

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = [
66

77
[project]
88
name = "package-name-to-install-with"
9-
version = "0.0.3"
9+
version = "0.0.4"
1010
description = "A small example package"
1111
keywords = [
1212
"development",
@@ -350,6 +350,16 @@ strict = true
350350
module = "PySimpleGUI"
351351
ignore_missing_imports = true
352352

353+
[tool.pyright]
354+
include = [
355+
"src",
356+
]
357+
exclude = [
358+
"**/tests/*.py",
359+
]
360+
pythonVersion = "3.10"
361+
reportMissingImports = false
362+
353363
[tool.autoflake]
354364
in-place = true
355365
remove-all-unused-imports = true
@@ -366,16 +376,6 @@ ignore-init-method = true
366376
[tool.pydocstyle]
367377
convention = "numpy"
368378

369-
[tool.pyright]
370-
include = [
371-
"src",
372-
]
373-
exclude = [
374-
"**/tests/*.py",
375-
]
376-
pythonVersion = "3.10"
377-
reportMissingImports = false
378-
379379
[tool.vulture]
380380
min_confidence = 100
381381
paths = [

src/package_name_to_import_with/data_using_module.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ class PackageMetadata(pydantic.BaseModel):
1010

1111
Name: str
1212
Version: str
13+
Description: str
14+
Keywords: list[str]
15+
License: str
16+
Maintainers: list[str]
17+
Authors: list[str]
18+
Links: dict[str, pydantic.HttpUrl]
1319

1420

1521
METADATA_CONTENTS: str = (
Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
{
2+
"Authors": [
3+
"Anirban Ray"
4+
],
5+
"Description": "A small example package",
6+
"Keywords": [
7+
"development",
8+
"packaging",
9+
"sample",
10+
"setuptools"
11+
],
12+
"License": "MIT",
13+
"Links": {
14+
"Bug Tracker": "https://github.com/yarnabrina/learn-python-packaging/issues",
15+
"Documentation": "https://learn-python-packaging.readthedocs.io",
16+
"Source Code": "https://github.com/yarnabrina/learn-python-packaging"
17+
},
18+
"Maintainers": [
19+
"Anirban Ray <39331844+yarnabrina@users.noreply.github.com>"
20+
],
221
"Name": "package-name-to-install-with",
3-
"Version": "0.0.3"
22+
"Version": "0.0.4"
423
}
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import pydantic
2-
from _typeshed import Incomplete
32

43
class PackageMetadata(pydantic.BaseModel):
54
Name: str
65
Version: str
6+
Description: str
7+
Keywords: list[str]
8+
License: str
9+
Maintainers: list[str]
10+
Authors: list[str]
11+
Links: dict[str, pydantic.HttpUrl]
712

813
METADATA_CONTENTS: str
9-
METADATA: Incomplete
14+
METADATA: PackageMetadata

typing-stubs-for-package-name-to-install-with/package_name_to_import_with/simplify.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class TokenType(str, enum.Enum):
1414
POSITIVE_NUMBER: str
1515
NEGATIVE_NUMBER: str
1616
OPERATOR: str
17-
PARENTHESIS: str
17+
LEFT_PARENTHESIS: str
18+
RIGHT_PARENTHESIS: str
1819

1920
OPERATION_PRECEDENCES: dict[ArithmeticOperator | Parentheses, int]
2021

0 commit comments

Comments
 (0)