Skip to content

Commit

Permalink
Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
trygveasp committed May 2, 2023
1 parent d961a77 commit 5772ac2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .flakeheaven.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.flakeheaven]
exclude = [".*/", "tmp/", "*/tmp/", "*.ipynb"]
exclude = [".*/", "tmp/", "*/tmp/", "*.ipynb", "*.rst"]
# Group output by file. Colored.
format = "grouped"
# Show line of source code in output, with syntax highlighting
Expand Down
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.. _README:

.. image:: https://coveralls.io/repos/github/metno/pysurfex/badge.svg?branch=master

https://coveralls.io/github/metno/pysurfex

Python API to SURFEX (pysurfex)
=======================================================
Expand Down
4 changes: 3 additions & 1 deletion pysurfex/cmd_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,14 +516,16 @@ def parse_args_dump_environ(argv):
"""
parser = ArgumentParser(description="Dump environment")
parser.add_argument(
"-o", "--outpufile", type=str, default="rte.json", help="Default output file")
"-o", "--outputfile", type=str, default="rte.json", help="Default output file"
)

args = parser.parse_args(argv)
kwargs = {}
for arg in vars(args):
kwargs.update({arg: getattr(args, arg)})
return kwargs


def parse_args_first_guess_for_oi(argv):
"""Parse arguments for firstguess4oi.
Expand Down

0 comments on commit 5772ac2

Please sign in to comment.