Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
11 Nov update. some minor changes. pre-commit hook added
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Nov 11, 2023
1 parent 2ebdf8d commit ff31cd6
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 26 deletions.
36 changes: 36 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-add-large-files
- id: debug-statements
- repo: https://github.com/psf/black
rev: 21.9b0
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.1
hooks:
- id: mdformat
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
hooks:
- id: mypy
files: ^src/
args: []
- repo: https://github.com/pytest-dev/pytest
rev: v7.0.1
hooks:
- id: pytest
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Contributors
============

* SAIKAT KARMAKAR <saikickkarma@gmail.com>
* SAIKAT KARMAKAR <saikickkarma@protonmail.com>
12 changes: 6 additions & 6 deletions poetry.lock

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

14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,19 @@ description = "Python client library for connecting to Bee decentralised storage
authors = ["SAIKAT KARMAKAR <[email protected]>"]
license = "LGPL-3.0, GPL-3.0"
readme = "README.md"
packages = [{ include = "fds", from = "src" }]
packages = [{ include = "bee_py", from = "src" }]

[tool.poetry.dependencies]
python = "^3.9"
eth-ape = "^0.6.22"
eth-ape = "^0.6.24"

[tool.poetry.group.dev.dependencies]
ape-alchemy = "^0.6.5"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pytest.project]
name = "fds"
name = "bee_py"

[tool.pytest.ini_options]
# addopts = [
Expand Down Expand Up @@ -51,4 +49,4 @@ ignore_missing_imports = true
# * not working so defined in setup.cfg
# [tool.flake8]
# line-length = 100
# exclude = ["__pycache__", ".venv/*"]
# exclude = ["__pycache__", ".venv/*"]
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,7 @@
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.9",
install_requires=[
"eth-ape",
"ape-alchemy",
"ape-solidity",
"ape-foundry",
"ape-etherscan",
"pyscaffold",
"cryptography",
"coverage-enable-subprocess",
"pytest-cov",
],
install_requires=["eth-ape", "ape-alchemy", "ape-solidity", "ape-foundry", "ape-etherscan"],
extras_require={
"test": [
"pytest",
Expand Down

0 comments on commit ff31cd6

Please sign in to comment.