-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add --strict option to fail on exising files (#113)
* feat: require python 3.8 or greater * refactor: move arguments to config dataclasses * feat: add --strict option to fail on exising files * feat: install mypy and add type annotations * chore: bump version to 1.2.0 * test: add test case without --strict
- Loading branch information
Showing
13 changed files
with
1,199 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "s3pypi" | ||
version = "1.1.1" | ||
version = "1.2.0" | ||
description = "CLI for creating a Python Package Repository in an S3 bucket" | ||
authors = [ | ||
"Matteo De Wint <[email protected]>", | ||
|
@@ -11,28 +11,19 @@ authors = [ | |
s3pypi = "s3pypi.__main__:main" | ||
|
||
[tool.poetry.dependencies] | ||
boto3 = "^1.26.32" | ||
python = "^3.7" | ||
boto3 = "^1.34.11" | ||
boto3-stubs = {extras = ["s3"], version = "^1.34.11"} | ||
python = "^3.8" | ||
|
||
[tool.poetry.dev-dependencies] | ||
black = "^22.12.0" | ||
flake8 = "^5.0.0" | ||
isort = "^5.11.3" | ||
moto = "^4.0.12" | ||
pytest = "^7.2.0" | ||
pytest-cov = "^4.0.0" | ||
|
||
[tool.black] | ||
exclude = ''' | ||
\.eggs | ||
| \.git | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| _build | ||
| build | ||
| dist | ||
''' | ||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.12.1" | ||
bump2version = "^1.0.1" | ||
flake8 = "^5.0.4" | ||
isort = "^5.13.2" | ||
moto = "^4.2.12" | ||
mypy = "^1.8.0" | ||
pytest = "^7.4.3" | ||
pytest-cov = "^4.1.0" | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__prog__ = "s3pypi" | ||
__version__ = "1.1.1" | ||
__version__ = "1.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.