Skip to content

Commit 3f818b8

Browse files
committed
move to pyproject.toml
1 parent a65724b commit 3f818b8

File tree

7 files changed

+814
-0
lines changed

7 files changed

+814
-0
lines changed

-/LICENSE.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2025-present solomocyj <solomoncyj@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .
2+
3+
[![PyPI - Version](https://img.shields.io/pypi/v/-.svg)](https://pypi.org/project/-)
4+
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/-.svg)](https://pypi.org/project/-)
5+
6+
-----
7+
8+
## Table of Contents
9+
10+
- [Installation](#installation)
11+
- [License](#license)
12+
13+
## Installation
14+
15+
```console
16+
pip install -
17+
```
18+
19+
## License
20+
21+
`-` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

-/pyproject.toml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "-"
7+
dynamic = ["version"]
8+
description = ''
9+
readme = "README.md"
10+
requires-python = ">=3.8"
11+
license = "MIT"
12+
keywords = []
13+
authors = [
14+
{ name = "solomocyj", email = "solomoncyj@gmail.com" },
15+
]
16+
classifiers = [
17+
"Development Status :: 4 - Beta",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
]
27+
dependencies = []
28+
29+
[project.urls]
30+
Documentation = "https://github.com/solomocyj/-#readme"
31+
Issues = "https://github.com/solomocyj/-/issues"
32+
Source = "https://github.com/solomocyj/-"
33+
34+
[tool.hatch.version]
35+
path = "src/_/__about__.py"
36+
37+
[tool.hatch.envs.types]
38+
extra-dependencies = [
39+
"mypy>=1.0.0",
40+
]
41+
[tool.hatch.envs.types.scripts]
42+
check = "mypy --install-types --non-interactive {args:src/_ tests}"
43+
44+
[tool.coverage.run]
45+
source_pkgs = ["_", "tests"]
46+
branch = true
47+
parallel = true
48+
omit = [
49+
"src/_/__about__.py",
50+
]
51+
52+
[tool.coverage.paths]
53+
_ = ["src/_", "*/-/src/_"]
54+
tests = ["tests", "*/-/tests"]
55+
56+
[tool.coverage.report]
57+
exclude_lines = [
58+
"no cov",
59+
"if __name__ == .__main__.:",
60+
"if TYPE_CHECKING:",
61+
]

-/src/_/__about__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <solomoncyj@gmail.com>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
__version__ = "0.0.1"

-/src/_/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <solomoncyj@gmail.com>
2+
#
3+
# SPDX-License-Identifier: MIT

-/tests/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <solomoncyj@gmail.com>
2+
#
3+
# SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)