Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeiliang authored Apr 26, 2024
1 parent e9079de commit 0c59ab6
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,55 @@ description = "NYU DevOps Project"
authors = ["John Rofrano"]
license = "Apache 2.0"
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "^3.11"
Flask = "^3.0.2"
flask-restx = "^1.3.0"
Flask-SQLAlchemy = "^3.1.1"
psycopg = {extras = ["binary"], version = "^3.1.17"}
retry = "^0.9.2"
flask-sqlalchemy = "3.0.2"
psycopg = {extras = ["binary"], version = "^3.1.12"}
retry2 = "^0.9.5"
python-dotenv = "^1.0.1"
gunicorn = "^21.2.0"
honcho = "^1.1.0"

[tool.poetry.group.dev.dependencies]
honcho = "^1.1.0"
pylint = "^3.0.2"
flake8 = "^6.1.0"
black = "^23.10.1"
black = "^24.3.0"
pytest = "^7.4.3"
pytest-pspec = "^0.0.4"
pytest-cov = "^4.1.0"
factory-boy = "^3.3.0"
coverage = "^7.3.2"
httpie = "^3.2.2"
# Behavior-Driven Development
behave = "^1.2.6"
selenium = "4.16.0" # newer versions do not work
compare3 = "^1.0.4"
requests = "^2.31.0"
poetry-plugin-export = "^1.7.1"

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

#
########################################
# Tool configurations
#
########################################

[tool.pylint.'MESSAGES CONTROL']
[tool.flake8]
# ignore = ['E231', 'E241']
per-file-ignores = [
'*/__init__.py:F401 E402',
]
max-line-length = 127
count = true

[tool.black]
line-length = 127

[tool.pylint.'MESSAGES CONTROL']
disable = "no-member,protected-access,global-statement"

[tool.pylint.FORMAT]
max-line-length = 127

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--pspec --cov=service --cov-fail-under=95"
Expand Down

0 comments on commit 0c59ab6

Please sign in to comment.