diff --git a/pyproject.toml b/pyproject.toml index 10a58fcc30a0bbf33ef239786bd08f04ca654a08..95d15ebf7b40c84294b780410d62c09689859bb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/scriptconfig/__init__.py b/scriptconfig/__init__.py index 5ace799e03e6d28102f6b42fb1a277e61f36b1c2..54d6685e488493e09cb840adff3c50344408c875 100644 --- a/scriptconfig/__init__.py +++ b/scriptconfig/__init__.py @@ -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: diff --git a/scriptconfig/config.py b/scriptconfig/config.py index ad9d37857e2406b31770e614576498374fb378fb..c66a88f26b95cce90025c4916b2d3b93521b4b8f 100644 --- a/scriptconfig/config.py +++ b/scriptconfig/config.py @@ -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)))