Skip to content

Commit e2d4892

Browse files
committed
refactor: examples not any more automatically formatted, because used in sphinx documentation
1 parent 00776d6 commit e2d4892

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyrfc"
7-
version = "3.3"
7+
version = "3.3.1"
88
readme = "README.md"
99
license = { file = "LICENSES/Apache-2.0.txt" }
1010
description = "Python bindings for SAP NetWeaver RFC SDK"

src/pyrfc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
from contextlib import suppress
1010

11-
__version__ = importlib.metadata.version("pyrfc")
11+
__version__ = importlib.metadata.version(__name__)
1212
__version_info__ = tuple(__version__.split("."))
1313

1414
if os.name == "nt":

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ deps =
3737
pydocstyle
3838
commands =
3939
cython-lint src/pyrfc --max-line-length=180
40-
ruff check --fix src setup.py tests examples --line-length=120
40+
ruff format src setup.py tests --line-length=120
41+
# ruff format examples --line-length=120
4142
pydocstyle src
4243

4344
[testenv:docs]

0 commit comments

Comments
 (0)