Closed schuylermartin45 closed 1 year ago
This is a pre-curser to considering to enable the static analyzer. Approximately 250 analyzer errors (out of nearly 3000) got cleaned up as a consequence of making the linter happy.
These fixes should also reduce the current analyzer error count I have on the anaconda-linter
project.
The linter will accept both types of docstrings and I haven't decided on one over the other yet. We should discuss as a team/group and pick one.
I would lean towards Sphinx so we can auto-generate docs and I find it is a little easier to work with and probably easier for a computer to parse.
One thing we definitely shouldn't do is duplicate the typing info in the docstrings as most tools should be able to parse both and mypy
/VS Code only looks at the type annotations.
pre-commit
examples/
directoryVariant
; Charles confirmed this changeannotations
from__future__