diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc0e3b7..b635fa6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,34 +1,35 @@ --- repos: + - repo: https://github.com/ansible-network/collection_prep + rev: 1.1.0 + hooks: + - id: autoversion + - id: update-docs + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-merge-conflict - id: debug-statements - id: end-of-file-fixer - id: no-commit-to-branch - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.0-alpha.4" hooks: - id: prettier additional_dependencies: - prettier - prettier-plugin-toml - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: - id: isort args: ["--filter-files"] - repo: https://github.com/psf/black rev: 22.12.0 hooks: - id: black - - - repo: https://github.com/ansible-network/collection_prep - rev: 1.1.0 - hooks: - - id: update-docs diff --git a/galaxy.yml b/galaxy.yml index a51c0db..e4c915f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,16 +1,14 @@ --- authors: - Ansible Network Community (ansible-network) dependencies: "ansible.netcommon": ">=2.5.1" license_file: LICENSE name: vyos description: Ansible Network Collection for VYOS devices. namespace: vyos readme: README.md repository: https://github.com/ansible-collections/vyos.vyos issues: https://github.com/ansible-collections/vyos.vyos/issues tags: [vyos, networking] -# NOTE(pabelanger): We create an empty version key to keep ansible-galaxy -# happy. We dynamically inject version info based on git information. -version: null +version: 4.0.1-dev