[go: up one dir, main page]

Skip to content

Commit

Permalink
add version and build-system
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Yavorsky committed May 11, 2024
1 parent aa1fd07 commit d27fbce
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
14 changes: 0 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
# Byte-compiled / optimized / DLL files
**__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
MANIFEST

# Unit test / coverage reports
.pytest_cache/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# mypy
.mypy_cache/
.dmypy.json
Expand Down
23 changes: 18 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
package-dir = { "" = "src" }

[project]
name = "envmapp"
dynamic = ["version"]
version = "0.0.1"
description = "It's a simple mapping your environment"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
authors = [
{ name = "Sergey Yavorsky", email = "yavorskyserge@gmail.com" },
]
Expand All @@ -13,9 +24,6 @@ Homepage = ""
Documentation = ""
Repository = ""

[tool.mypy]
strict = true
pretty = true

[tool.pytest.ini_options]
addopts = [
Expand Down Expand Up @@ -55,6 +63,11 @@ convention = "google"
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true

[tool.mypy]
strict = true
pretty = true

[tool.isort]
profile = "black"
line_length = 80

0 comments on commit d27fbce

Please sign in to comment.