Skip to content

Commit 702b983

Browse files
committed
🔖 Bump version number to 1.6.2
1 parent 202d2f0 commit 702b983

File tree

1 file changed

+59
-44
lines changed

1 file changed

+59
-44
lines changed

pyproject.toml

Lines changed: 59 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
[project]
22
name = "structlog-sentry-logger"
3-
version = "1.6.1"
3+
version = "1.6.2"
44
description = "Log without the setup via a pre-configured structlog logger with optional Sentry integration"
55
authors = [
6-
{ name = "Teo Zosa"},
6+
{ name = "Teo Zosa" },
77
]
88
license = "Apache-2.0"
99
readme = "README.md"
1010
requires-python = ">=3.9,<3.14"
11-
keywords = ["logging", "structured", "structure", "log", "structured logging", "sentry", "structlog", "structlog-sentry"]
11+
keywords = [
12+
"logging",
13+
"structured",
14+
"structure",
15+
"log",
16+
"structured logging",
17+
"sentry",
18+
"structlog",
19+
"structlog-sentry",
20+
]
1221
classifiers = [
1322
"Intended Audience :: Developers",
1423
"License :: OSI Approved :: Apache Software License",
@@ -65,35 +74,36 @@ docs = [
6574
"sphinx>=4.1.2",
6675
"sphinx-autoapi>=1.8.1,<4.0.0",
6776
"sphinx-rtd-theme>=0.5.1,<3.1.0",
68-
"types-emoji>=1.2.4,<3.0.0", # PEP 561 compliant stub packages for mypy
77+
"types-emoji>=1.2.4,<3.0.0",
6978
]
7079

7180
[project.urls]
7281
Homepage = "https://github.com/TeoZosa/structlog-sentry-logger"
7382
Repository = "https://github.com/TeoZosa/structlog-sentry-logger"
7483
Changelog = "https://github.com/TeoZosa/structlog-sentry-logger/releases"
7584

76-
#################################################################################
77-
# Tooling configs #
78-
#################################################################################
7985
[tool.black]
8086
line-length = 120
8187

8288
[tool.coverage.run]
8389
branch = true
84-
concurrency = ["multiprocessing"]
90+
concurrency = [
91+
"multiprocessing",
92+
]
8593
parallel = true
86-
source = ["structlog_sentry_logger"]
94+
source = [
95+
"structlog_sentry_logger",
96+
]
8797

8898
[tool.coverage.report]
89-
exclude_lines =[
99+
exclude_lines = [
90100
"pragma: no cover",
91101
"raise AssertionError",
92102
"raise NotImplementedError",
93103
"if __name__ == .__main__.:",
94104
]
95105
fail_under = 100
96-
omit =[
106+
omit = [
97107
"structlog_sentry_logger/structlog_sentry.py",
98108
]
99109
show_missing = true
@@ -115,7 +125,7 @@ ignore-semiprivate = false
115125
ignore-private = false
116126
ignore-property-decorators = false
117127
ignore-module = false
118-
fail-under = 0 # adjust `fail-under` value as quality standards permit
128+
fail-under = 0
119129
whitelist-regex = []
120130
color = true
121131

@@ -129,48 +139,53 @@ show_error_context = true
129139
show_error_codes = true
130140

131141
[tool.pytest.ini_options]
132-
addopts = ["-rfsxX", "-l", "--tb=short", "--strict-markers", "-vv", "--emoji", "--xdoctest"]
142+
addopts = [
143+
"-rfsxX",
144+
"-l",
145+
"--tb=short",
146+
"--strict-markers",
147+
"-vv",
148+
"--emoji",
149+
"--xdoctest",
150+
]
133151
xfail_strict = true
134-
testpaths = ["tests",]
135-
norecursedirs = [".*", "*.egg", "build", "dist",]
152+
testpaths = [
153+
"tests",
154+
]
155+
norecursedirs = [
156+
".*",
157+
"*.egg",
158+
"build",
159+
"dist",
160+
]
136161

137162
[tool.ruff]
138163
line-length = 120
139-
140164
select = [
141-
"F", # Pyflakes
142-
"E", "W", # pycodestyle
143-
"C90", # McCabe
144-
"I", # isort
145-
"D", # pydocstyle
146-
"UP", # pyupgrade
147-
"PLC", "PLE", "PLR", "PLW", # Pylint
165+
"F",
166+
"E",
167+
"W",
168+
"C90",
169+
"I",
170+
"D",
171+
"UP",
172+
"PLC",
173+
"PLE",
174+
"PLR",
175+
"PLW",
148176
]
149-
150-
151177
ignore = [
152-
# pycodestyle:
153-
"E501", # Line too long (covered by Black)
178+
"E501",
154179
]
155-
156180
fix = true
157-
158-
# Group violations by containing file.
159181
format = "grouped"
160-
161-
# By default, always show source code snippets.
162182
show-source = true
163-
164-
# Assume Python 3.9
165-
# Note: helps prevent breaking autofixes from, e.g., pyupgrade
166183
target-version = "py39"
167184

168185
[tool.ruff.isort]
169-
# Note: Ruff implicitly uses `profile = "black"`
170186
combine-as-imports = true
171187

172188
[tool.ruff.mccabe]
173-
## cyclomatic complexity (https://github.com/PyCQA/mccabe)
174189
max-complexity = 10
175190

176191
[tool.ruff.pydocstyle]
@@ -179,17 +194,17 @@ convention = "google"
179194
[tool.uv]
180195
python-preference = "only-managed"
181196

182-
[build-system]
183-
requires = ["hatchling>=1.27.0"]
184-
build-backend = "hatchling.build"
185-
186197
[tool.hatch.build.targets.wheel.hooks.mypyc]
187198
dependencies = [
188199
"hatch-mypyc",
189-
190-
# For Mypyc type annotations
191200
"structlog",
192201
"sentry-sdk",
193202
"dotenv",
194-
"gitpython"
203+
"gitpython",
195204
]
205+
206+
[build-system]
207+
requires = [
208+
"hatchling>=1.27.0",
209+
]
210+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)