Skip to content

Commit

Permalink
fine tune linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
“RobHanna-NOAA” authored and “RobHanna-NOAA” committed Oct 31, 2024
1 parent 82c8bb4 commit 59d2379
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ Wiki = "https://github.com/NOAA-OWP/inundation-mapping/wiki"
skip-string-normalization = true
skip-magic-trailing-comma = true
extend-exclude = '''
(
# Ignore files ending with .csv
/(
\.csv$
)
)/
'''

[tool.isort]
profile = 'black'
line_length = 110
multi_line_output = 3
lines_after_imports = 2
extend-skip = [""".csv"""

# yes, the exclue format is different from black
[tool.flake8]
Expand All @@ -72,6 +72,7 @@ extend-ignore = """
exclude = ["*.csv"]

per-file-ignores = """
*.csv
src/subdiv_chan_obank_src.py: E712
src/src_roughness_optimization.py: E712, F841
src/agreedem.py: E712
Expand Down

0 comments on commit 59d2379

Please sign in to comment.