generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
80 lines (67 loc) · 2.33 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = 'ras2fim'
maintainers = [
{name = "Fernando Salas", email = "fernando.salas@noaa.gov"},
{name = "Carson Pruitt", email = "carson.pruitt@noaa.gov"},
{name = "Ali Forghani", email = "ali.forghani@noaa.gov"},
{name = "Bradford Bates", email = "bradford.bates@noaa.gov"},
{name = "Emily Deardorff", email = "emily.deardorff@noaa.gov"},
{name = "Fernando Aristizabal", email = "fernando.aristizabal@noaa.gov"},
{name = "Greg Petrochenkov", email = "greg.petrochenkov@noaa.gov"},
{name = "Hamideh Safa", email = "hamideh.safa@noaa.gov"},
{name = "James Coll", email = "james.coll@noaa.gov"},
{name = "Matt Luck", email = "matt.luck@noaa.gov"},
{name = "Laura Keys", email = "laura.keys@noaa.gov"},
{name = "Nick Chadwick", email = "nick.chadwick@noaa.gov"},
{name = "Riley McDermott", email = "riley.mcdermott@noaa.gov"},
{name = "Rob Gonzalez-Pita", email = "rob.g.pita@noaa.gov"},
{name = "Robert Hanna", email = "robert.hanna@noaa.gov"},
{name = "Ryan Spies", email = "ryan.spies@noaa.gov"}
]
requires-python = ">=3.8"
keywords = ["ras2fim", "mapping", "noaa"]
[project.urls]
Source = "https://github.com/NOAA-OWP/ras2fim"
Wiki = "https://github.com/NOAA-OWP/ras2fim/wiki"
# - Tools -
[tool.black]
line_length = 110
skip-string-normalization = true
skip-magic-trailing-comma = true
[tool.isort]
profile = 'black'
multi_line_output = 3
line_length = 110 # It should be the same as `tool.black.line-length` above
lines_after_imports = 2
skip_gitignore = true
[tool.flake8]
count = true
doctests = true
max-complexity = 50
exclude = """
*.yaml,
*.env,
*.md,
*.toml
"""
max-line-length = 110 # It should be the same as `tool.black.line-length` above
extend-ignore = """
W391,
W503,
W605,
E203,
E266,
"""
# Page Exceptions Notes
# If you have a page that needs to be left as an linter exception,
# please add the file name and ras2fim relative path to the section
# below.
# You can also have it ignore just one code (aka.. 901)
# Code lists can be found at:
# https://flake8.pycqa.org/en/2.5.5/warnings.html (and 4 more links near the top to other codes)
per-file-ignores = """
src/create_shapes_from_hecras.py: F841, E731
tools/*: E402
tools/s3_get_models.py: E402, E712
tools/nws_ras2fim_terrain_Texas.py: E402, E501
"""