This repository has been archived by the owner on May 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
66 lines (57 loc) · 1.76 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.black]
include = '\.py$'
# Don't attempt to normalize strings
skip-string-normalization = true
# Tell Black that this code is specifically meant for 3.8 instead of using per-file detection.
# (without this, Black will only apply certain stylistic changes in the presence of version-specific syntax)
target_version = ["py38"]
[tool.isort]
known_first_party = "member"
profile = "black"
[tool.pylint.'MESSAGES CONTROL']
disable = [
# Black handles all formatting
'format',
# I'm okay with TODO comments
'fixme',
# We use `db`, `ts`, etc. which don't adhere to the naming style
'invalid-name',
# Not all modules need a docstring
'missing-module-docstring',
# TODO: Add docstrings to all classes & functions, then we can drop this.
'missing-docstring',
]
[tool.pylint.REPORTS]
reports = false
score = false
[tool.pylint.SIMILARITIES]
ignore-imports=true
[tool.poetry]
name = "mitoc-member"
version = "0.1.0"
description = "Processes MITOC memberships and waivers"
license = "GPL-3.0"
readme = "README.md"
homepage = "https://mitoc-trips.mit.edu"
repository = "https://github.com/DavidCain/mitoc-member/"
authors = ["David Cain <davidjosephcain@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.8.10"
Flask = "^1.0"
flask-mysql = "^1.0"
PyJWT = "*"
pytz = "*"
raven = { version = "*", extras = ["flask"] }
mitoc-const = "^0.4.0"
# Optional dependencies for determining code coverage
# Useful for local development and/or the build
# (Included here, since extras cannot refer to dev dependencies)
coverage = { version = "*", optional = true }
codecov = { version = "*", optional = true }
[tool.poetry.extras]
code_coverage = ["codecov", "coverage"]
[tool.poetry.dev-dependencies]
black = { version = "*", allow-prereleases = true }
isort = "*"
pylint = "*"
pytest = "*"