-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpyproject.toml
executable file
·85 lines (75 loc) · 2.42 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
81
82
83
84
85
[project]
name = 'Inundation Mapping'
description = """\
Flood inundation mapping software configured to work with the U.S. National Water Model, \
operated and maintained by the National Oceanic and Atmospheric Administration (NOAA) \
National Water Center (NWC). \
This software uses the Height Above Nearest Drainage (HAND) method to generate \
Relative Elevation Models (REMs), Synthetic Rating Curves (SRCs), and catchment grids. \
This repository also includes functionality to generate flood inundation maps (FIMs) \
and evaluate FIM accuracy. \
"""
maintainers = [
{name = "Fernando Salas", email = "[email protected]"},
{name = "Carson Pruitt", email = "[email protected]"},
{name = "Ali Forghani", email = "[email protected]"},
{name = "Emily Deardorff", email = "[email protected]"},
{name = "Greg Petrochenkov", email = "[email protected]"},
{name = "Hamideh Safa", email = "[email protected]"},
{name = "James Coll", email = "[email protected]"},
{name = "Matt Luck", email = "[email protected]"},
{name = "Riley McDermott", email = "[email protected]"},
{name = "Robert Hanna", email = "[email protected]"},
{name = "Ryan Spies", email = "[email protected]"}
]
requires-python = ">=3.8"
keywords = ["flood inundation", "mapping"]
license = {path = "./LICENSE"}
version = "4.4.0"
[project.urls]
Source = "https://github.com/NOAA-OWP/inundation-mapping"
Wiki = "https://github.com/NOAA-OWP/inundation-mapping/wiki"
# - Tools -
[tool.black]
skip-string-normalization = true
skip-magic-trailing-comma = true
line-length = 110
exclude = '''
/(
\.csv$
)/
'''
[tool.isort]
profile = 'black'
line_length = 110
multi_line_output = 3
lines_after_imports = 2
# extend-skip = [".csv"]
skip_glob = ["*.csv"]
# yes, the exclue format is different from black
[tool.flake8]
count = true
doctests = true
max-complexity = 56
max-line-length = 110
extend-ignore = """
E203,
E266,
E501,
E712,
W503,
W391,
F401,
F403,
"""
exclude = ["*.csv"]
per-file-ignores = """
src/src_roughness_optimization.py: F841
src/build_stream_traversal.py: E722
tools/eval_alt_catfim.py: F841
tools/inundation.py: F821
tools/rating_curve_comparison.py: F821, F841
tools/run_test_case.py: E711
tools/tools_shared_functions.py: F821, F841, E711
data/usgs/rating_curve_get_usgs_curves.py: F841
"""