-
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
We can now start configuring linting-related things.
Please take as a base these:
- https://github.com/ansible/pylibssh/blob/devel/.pre-commit-config.yaml
- https://github.com/ansible/ansible-lint/blob/master/.pre-commit-config.yaml#L37-L43
- https://github.com/ansible/ansible-lint/blob/master/.yamllint (but turn
consistenttofalse) - https://github.com/ansible/pylibssh/blob/devel/.darglint
- https://github.com/ansible/pylibssh/blob/devel/.isort.cfg
- https://github.com/ansible/pylibssh/blob/devel/.flake8
- https://github.com/ansible/ansible-lint/blob/master/mypy.ini / https://github.com/sanitizers/octomachinery/blob/master/mypy.ini / https://github.com/ansible/ansible-lint/blob/master/.pre-commit-config.yaml#L60-L67
- https://github.com/ansible/ansible-lint/blob/master/.pre-commit-config.yaml#L68-L71 / https://github.com/sanitizers/octomachinery/blob/master/.pre-commit-config.yaml#L51-L58 / https://github.com/sanitizers/octomachinery/blob/master/.pylintrc (generate the base config via
pylint --generate-rcfile > .pylintrcand only then borrow things from examples, only if necessary, in separate commits, for comparison)
Since it's a lot of changes, feel free to submit separate PRs with small changes.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request