Skip to content

Commit 96f9a0e

Browse files
committed
Switched pyproject.toml to hard coded version to be modified by pre commit hook
1 parent 568eea4 commit 96f9a0e

File tree

2 files changed

+126
-126
lines changed

2 files changed

+126
-126
lines changed

pyproject.toml

Lines changed: 125 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,126 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
5-
[project]
6-
name = "socket-sdk-python"
7-
dynamic = ["version"]
8-
requires-python = ">= 3.9"
9-
dependencies = [
10-
'requests',
11-
'typing-extensions>=4.12.2'
12-
]
13-
readme = "README.rst"
14-
license = {file = "LICENSE"}
15-
description = "Socket Security Python SDK [DEPRECATED: Please use 'socketdev' package instead]"
16-
keywords = ["socketsecurity", "socket.dev", "sca", "oss", "security", "sdk"]
17-
authors = [
18-
{name = "Douglas Coburn", email = "douglas@socket.dev"}
19-
]
20-
maintainers = [
21-
{name = "Douglas Coburn", email = "douglas@socket.dev"}
22-
]
23-
classifiers = [
24-
"Development Status :: 7 - Inactive",
25-
"Intended Audience :: Developers",
26-
"Programming Language :: Python :: 3.9",
27-
"Programming Language :: Python :: 3.10",
28-
"Programming Language :: Python :: 3.11",
29-
"Programming Language :: Python :: 3.12",
30-
"Programming Language :: Python :: 3.13",
31-
"Programming Language :: Python :: 3.14"
32-
]
33-
34-
[tool.hatch.version]
35-
path = "socketdev/version.py"
36-
37-
[tool.hatch.build.targets.wheel]
38-
packages = ["socketdev"]
39-
40-
# modern, faster linter and language server. install with `pip install -e ".[dev]"`
41-
[project.optional-dependencies]
42-
dev = [
43-
"ruff>=0.3.0",
44-
"hatch>=1.14.0",
45-
"hatchling>=1.27.0",
46-
"twine>=4.0.0"
47-
]
48-
test = [
49-
"pytest>=7.0.0",
50-
"pytest-cov>=4.0.0"
51-
]
52-
53-
[project.urls]
54-
Homepage = "https://github.com/socketdev/socket-sdk-python"
55-
56-
[tool.ruff]
57-
# Exclude a variety of commonly ignored directories.
58-
exclude = [
59-
".bzr",
60-
".direnv",
61-
".eggs",
62-
".git",
63-
".git-rewrite",
64-
".hg",
65-
".ipynb_checkpoints",
66-
".mypy_cache",
67-
".nox",
68-
".pants.d",
69-
".pyenv",
70-
".pytest_cache",
71-
".pytype",
72-
".ruff_cache",
73-
".svn",
74-
".tox",
75-
".venv",
76-
".vscode",
77-
"__pypackages__",
78-
"_build",
79-
"buck-out",
80-
"build",
81-
"dist",
82-
"node_modules",
83-
"site-packages",
84-
"venv",
85-
]
86-
87-
[tool.ruff.lint]
88-
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
89-
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
90-
# McCabe complexity (`C901`) by default.
91-
select = ["E4", "E7", "E9", "F"]
92-
ignore = []
93-
94-
# Allow fix for all enabled rules (when `--fix`) is provided.
95-
fixable = ["ALL"]
96-
unfixable = []
97-
98-
# Allow unused variables when underscore-prefixed.
99-
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
100-
101-
[tool.ruff.format]
102-
# Like Black, use double quotes for strings.
103-
quote-style = "double"
104-
105-
# Like Black, indent with spaces, rather than tabs.
106-
indent-style = "space"
107-
108-
# Like Black, respect magic trailing commas.
109-
skip-magic-trailing-comma = false
110-
111-
# Like Black, automatically detect the appropriate line ending.
112-
line-ending = "auto"
113-
114-
# Enable auto-formatting of code examples in docstrings. Markdown,
115-
# reStructuredText code/literal blocks and doctests are all supported.
116-
#
117-
# This is currently disabled by default, but it is planned for this
118-
# to be opt-out in the future.
119-
docstring-code-format = false
120-
121-
# Set the line length limit used when formatting code snippets in
122-
# docstrings.
123-
#
124-
# This only has an effect when the `docstring-code-format` setting is
125-
# enabled.
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "socket-sdk-python"
7+
version = "2.2.2"
8+
requires-python = ">= 3.9"
9+
dependencies = [
10+
'requests',
11+
'typing-extensions>=4.12.2'
12+
]
13+
readme = "README.rst"
14+
license = {file = "LICENSE"}
15+
description = "Socket Security Python SDK [DEPRECATED: Please use 'socketdev' package instead]"
16+
keywords = ["socketsecurity", "socket.dev", "sca", "oss", "security", "sdk"]
17+
authors = [
18+
{name = "Douglas Coburn", email = "douglas@socket.dev"}
19+
]
20+
maintainers = [
21+
{name = "Douglas Coburn", email = "douglas@socket.dev"}
22+
]
23+
classifiers = [
24+
"Development Status :: 7 - Inactive",
25+
"Intended Audience :: Developers",
26+
"Programming Language :: Python :: 3.9",
27+
"Programming Language :: Python :: 3.10",
28+
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14"
32+
]
33+
34+
[tool.hatch.version]
35+
path = "socketdev/version.py"
36+
37+
[tool.hatch.build.targets.wheel]
38+
packages = ["socketdev"]
39+
40+
# modern, faster linter and language server. install with `pip install -e ".[dev]"`
41+
[project.optional-dependencies]
42+
dev = [
43+
"ruff>=0.3.0",
44+
"hatch>=1.14.0",
45+
"hatchling>=1.27.0",
46+
"twine>=4.0.0"
47+
]
48+
test = [
49+
"pytest>=7.0.0",
50+
"pytest-cov>=4.0.0"
51+
]
52+
53+
[project.urls]
54+
Homepage = "https://github.com/socketdev/socket-sdk-python"
55+
56+
[tool.ruff]
57+
# Exclude a variety of commonly ignored directories.
58+
exclude = [
59+
".bzr",
60+
".direnv",
61+
".eggs",
62+
".git",
63+
".git-rewrite",
64+
".hg",
65+
".ipynb_checkpoints",
66+
".mypy_cache",
67+
".nox",
68+
".pants.d",
69+
".pyenv",
70+
".pytest_cache",
71+
".pytype",
72+
".ruff_cache",
73+
".svn",
74+
".tox",
75+
".venv",
76+
".vscode",
77+
"__pypackages__",
78+
"_build",
79+
"buck-out",
80+
"build",
81+
"dist",
82+
"node_modules",
83+
"site-packages",
84+
"venv",
85+
]
86+
87+
[tool.ruff.lint]
88+
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
89+
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
90+
# McCabe complexity (`C901`) by default.
91+
select = ["E4", "E7", "E9", "F"]
92+
ignore = []
93+
94+
# Allow fix for all enabled rules (when `--fix`) is provided.
95+
fixable = ["ALL"]
96+
unfixable = []
97+
98+
# Allow unused variables when underscore-prefixed.
99+
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
100+
101+
[tool.ruff.format]
102+
# Like Black, use double quotes for strings.
103+
quote-style = "double"
104+
105+
# Like Black, indent with spaces, rather than tabs.
106+
indent-style = "space"
107+
108+
# Like Black, respect magic trailing commas.
109+
skip-magic-trailing-comma = false
110+
111+
# Like Black, automatically detect the appropriate line ending.
112+
line-ending = "auto"
113+
114+
# Enable auto-formatting of code examples in docstrings. Markdown,
115+
# reStructuredText code/literal blocks and doctests are all supported.
116+
#
117+
# This is currently disabled by default, but it is planned for this
118+
# to be opt-out in the future.
119+
docstring-code-format = false
120+
121+
# Set the line length limit used when formatting code snippets in
122+
# docstrings.
123+
#
124+
# This only has an effect when the `docstring-code-format` setting is
125+
# enabled.
126126
docstring-code-line-length = "dynamic"

socketdev/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.2.1'
1+
__version__ = "2.2.2"

0 commit comments

Comments
 (0)