Skip to content
Snippets Groups Projects
Unverified Commit da6fb6d3 authored by Jon Crall's avatar Jon Crall
Browse files

Add codespell config

parent d546a3bc
No related branches found
No related tags found
1 merge request!35Start branch for dev/0.8.1
......@@ -37,3 +37,9 @@ branch = true
[tool.coverage.report]
exclude_lines = [ "pragma: no cover", ".* # pragma: no cover", ".* # nocover", "def __repr__", "raise AssertionError", "raise NotImplementedError", "if 0:", "if trace is not None", "verbose = .*", "^ *raise", "^ *pass *$", "if _debug:", "if __name__ == .__main__.:", ".*if six.PY2:",]
omit = [ "scriptconfig/__main__.py", "*/setup.py",]
[tool.codespell]
skip = ['./docs/build', './scriptconfig.egg-info']
count = true
quiet-level = 3
ignore-words-list = ["ANS", "doesnt", "cant"]
......@@ -13,7 +13,7 @@ ScriptConfig
+------------------+--------------------------------------------------+
The goal of ``scriptconfig`` is to make it easy to be able to define a CLI by
**simply defining a dictionary**. Thie enables you to write simple configs and
**simply defining a dictionary**. This enables you to write simple configs and
update from CLI, kwargs, and/or json.
The pattern is simple:
......
......@@ -1505,7 +1505,7 @@ class Config(ub.NiceRepr, DictLike, metaclass=MetaConfig):
>>> parser = ns['parser']
>>> args1 = parser.parse_args(['foobar'])
>>> assert args1.data == 'foobar'
>>> # Looks like we cant do positional or key/value easilly
>>> # Looks like we can't do positional or key/value easilly
>>> #args1 = parser.parse_args(['--data=blag'])
>>> #print('args1 = {}'.format(ub.urepr(args1, nl=1)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment