Skip to content

Commit

Permalink
migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Borg committed Dec 12, 2022
1 parent b12f476 commit c68a02f
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ repos:
language: python
entry: mypy
types: [python]
additional_dependencies: [mypy==0.991]
additional_dependencies: ["mypy==0.991", "pydantic", "pytest"]
args: ["--strict", "--install-types", "--non-interactive"]


- repo: local
hooks:
- id: trailing-whitespace
Expand Down
272 changes: 272 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[tool.poetry]
name = "caep"
version = "1.0.0"
description = "Config Argument Env Parser (CAEP)"
authors = ["mnemonic AS <[email protected]>"]
keywords = ["mnemonic"]
readme = "README.md"
homepage = "https://github.com/mnemonic-no/caep"
repository = "https://github.com/mnemonic-no/caep"
license = "ISC"
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"License :: OSI Approved :: ISC License (ISCL)",
]

[tool.poetry.dependencies]
python = "^3.6.2"
pydantic= "^1.8.0"

[tool.poetry.dev-dependencies]
pytest = "*"

[tool.isort]
profile = "black"

[tool.mypy]
strict = true
ignore_missing_imports = true

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
31 changes: 0 additions & 31 deletions setup.py

This file was deleted.

0 comments on commit c68a02f

Please sign in to comment.