-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (37 loc) · 1.03 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
[tool.black]
line-length = 88
# Mejor ser explícitos con la versión de python y los strings
target-version = ['py27']
skip-string-normalization = false
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| __pycache__
| \.egg-info
| node_modules
| \.idea
| \.vscode
| \.vagrant
)/
'''
[tool.isort]
line_length = 88
atomic = false # `true` cuando la versión de python target y que corre isort es la misma
include_trailing_comma = true
multi_line_output = 3 # El 5 ahorra espacio, pero para evitar rewrites de la salida de black
force_grid_wrap = 0
lines_after_imports = 2
use_parentheses = true
filter_files = true
skip_glob = ["*.egg", "*.egg-info", "__pycache__", "build/", "node_modules"]
combine_as_imports = false # Revisar
known_third_party = ["bcrypt", "pyramid", "sqlalchemy", "geoalchemy2", "django", "dateutil"]
known_first_party = ["utentes", "users"] # Ajustar en cada proyecto