浏览代码

Upgrade Django for Py 3.11.0

Colin Powell 2 年之前
父节点
当前提交
667113a3f3
共有 2 个文件被更改,包括 759 次插入64 次删除
  1. 719 64
      poetry.lock
  2. 40 0
      pyproject.toml

文件差异内容过多而无法显示
+ 719 - 64
poetry.lock


+ 40 - 0
pyproject.toml

@@ -24,6 +24,46 @@ django-celery-results = "^2.3.0"
 redis = "^4.2.2"
 django-taggit = "^2.1.0"
 django-markdownify = "^0.9.1"
+gunicorn = "^20.1.0"
+django-simple-history = "^3.1.1"
+
+[tool.poetry.dev-dependencies]
+Werkzeug = "2.0.3"
+black = "^22.3"
+freezegun = "^1.2"
+mypy = "^0.961"
+pytest = "^7.1"
+pytest-black = "^0.3.12"
+pytest-cov = "^3.0"
+pytest-flake8 = "^1.1"
+pytest-isort = "^3.0"
+pytest-runner = "^6.0"
+pytest-selenium = "^2.0.1"
+types-pytz = "^2022.1"
+types-requests = "^2.27"
+types-freezegun = "^1.1"
+bandit = "^1.7.4"
+
+[tool.black]
+line-length = 79
+skip-string-normalization = true
+target-version = ["py37", "py38"]
+include = ".py$"
+exclude = "migrations"
+
+[tool.isort]
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+combine_as_imports = true
+
+[tool.bandit]
+exclude_dirs = ["activities/tests/*", "activities/migrations/*"]
+
+[tool.poetry.scripts]
+server = 'scripts:server'
+migrate = 'scripts:migrate'
+shell = 'scripts:shell'
 
 [build-system]
 requires = ["poetry-core>=1.0.0"]

部分文件因为文件数量过多而无法显示