Commit Graph

53399 Commits (497d296ed6c2351a9922aad6b782d5e1707acc4e)
 

Author SHA1 Message Date
Matt Clay 497d296ed6
Enable pylint rules to detect pointless statements (#79944)
Also instruct `git blame` to ignore the commit used to convert pointless strings to comments.
1 year ago
Matt Clay 716631189c
Fix "pointless" strings detected by pylint (#79943)
Convert these strings to comments, since they are not valid docstrings.
1 year ago
Matt Clay 02f6e40534
Clean up pointless statements (#79941)
* Add ignores for intentional pointless statements

* Remove redundant docstring

* Fix function docstring placement
1 year ago
Matt Clay 1ba100a3b4
Fix pointless statements in unit tests (#79940) 1 year ago
Sloane Hertel fa1564c548
include_vars - document hash_behaviour + dir (#79790)
* document that hash_behaviour does not apply to individual files of variables when using the dir option

* add tests
1 year ago
Matt Clay c8c1402ff6
ansible-test - Fix file permissions for delegation (#79932)
* ansible-test - Fix file permissions for delegation

* Set more restrictive permissions for SSH key

* Check all execute bits, not just owner

* Add a breaking_changes changelog entry
1 year ago
Matt Davis c7c991e79d
quiet default ansible-doc integration test output (#79921)
* quiet default ansible-doc integration test output 

* typical non-verbose output was exceeding 27k lines per fun
* disables `set -x` unless `-v` is passed to the script (eg when ansible-test is called with `-v` or `--retry-on-error` adds it on the second try
* added simple progress echoes
* suppress some grep output

* only enable `set -x` for >= `-vvv`

* fix shellcheck default complaint
1 year ago
Alicia Cozine 5f947f867c
make this a warning, not a comment (#79928)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
1 year ago
Matt Martz 24519f3bd1
Update example to always init ANOTHER_LIBRARY_IMPORT_ERROR (#79927) 1 year ago
Mateus Rangel 32672c6326
Improving the RETURN and its docs on the apt_repository module (#79658)
* Improving the documentation on how we generate the default value of the filename parameter

* fix pep8

* removing unnecessary documentation and improving the module's return

* making the RETURN docs

* pep8

* version_added and changelog

* module._diff

* module._diff fix

* add rudimentary tests for new outputs

---------

Co-authored-by: Matt Davis <mrd@redhat.com>
1 year ago
Matt Clay 402ae0aa5d
ansible-test - Remove old containers and remotes (#79929) 1 year ago
Sloane Hertel ce6e53e1f6
Remove another unwanted comma from pause action (#79926) 1 year ago
Matt Clay 379058e10f
Update collections.abc imports (#79911)
* Update `collections.abc` imports

- Use `six.moves` for modules and module_utils
- Use `collections.abc` for controller code

This avoids using `ansible.module_utils.common._collections_compat`,
which was added before the vendored `six` was updated to provide these
imports.

* Update _collections_compat to use six.moves

Also update the custom pylint rule to reflect this change.
1 year ago
Matt Clay e658995760
ansible-test - Enable pylint unused-import for core (#79910) 1 year ago
Matt Clay 4706af58ab
ansible-test - Enable trailing-comma-tuple pylint rule (#79909) 1 year ago
Matt Clay 3b4f3c066a
Ignore necessary unused imports in module_utils (#79904) 1 year ago
Matt Clay 9e2aad6e51
Remove unwanted comma from pause action (#79908) 1 year ago
Matt Clay 51fadd0aac
Clean up unused imports in plugins (#79899) 1 year ago
Matt Clay 833909ac19
Clean up unused imports in core (#79900)
* Clean up unused imports in core

* Add changelog fragment
1 year ago
Matt Clay b3307f1aa7
Remove unused stdlib imports from module_utils (#79905) 1 year ago
Matt Clay 639e3e30d7
Remove unused internal imports from module_utils (#79906) 1 year ago
Matt Clay 2fa8ee503c
Clean up unused imports in modules (#79898) 1 year ago
Matt Clay 0cf9db6fc2
Clean up unused imports in ansible-test unit tests (#79897) 1 year ago
Matt Clay ca54b7b26d
Clean up unused imports in sanity tests (#79896) 1 year ago
Matt Clay 7495070b83
Clean up unused imports in integration tests (#79895) 1 year ago
Matt Clay e69ef1b249
Clean up unused imports in `hacking` directory (#79894) 1 year ago
Matt Clay 25d859f8fb
Clean up unused imports in unit tests (#79893) 1 year ago
Matt Clay d637e87a9e
user - Remove invalid return docs (#79891) 1 year ago
Matt Martz 0a00263a53
Use arg validation in debug action (#79866)
* Use arg validation in debug action. Fixes #79862

* Add clog frag

* Move the msg default into the argspec
1 year ago
Konrad Gawda 1c01eab3fb
Remove irrelevant line (#79865)
Remove irrelevant comment line form example code
1 year ago
Bartłomiej Kida 0ab53aefc9
Update dnf.py (#79679) 1 year ago
Tabah Baridule M 913e4863af
Description for changing User ID to match user value (#79470) 1 year ago
JaroslavKlech d8dc76e134
Mentions 'meta: flush_handlers' task (#79542) 1 year ago
Felix Fontein 07f1a1b7dc
docsite: bump antsibull-docs, reference collection env var index (#79666) 1 year ago
Matt Clay 1fd0265e22
ansible-test - Update default containers (#79887) 1 year ago
Matt Clay d48d1c23df
ansible-test - Specify config path in plugin error (#79881) 1 year ago
Matt Clay 91807695c3
Remove unused unit test code (#79879)
* Remove unused test fixtures

* Removed unused _old_dump_load_cycle method

* Remove Python 2.x compat

* Remove unused code

* Remove unused context manager

* Fix cowsay test

- The test no longer depends on another test to initialize config.
- Also remove unreachable code.

* Remove Python 2.x compat
1 year ago
Matt Clay 0a53309f47
ansible-test - Update pylint to 2.16.0 (#79878) 1 year ago
Matt Clay 58461bc204
Remove outdated note on relative imports in docs (#79873) 1 year ago
Andrew Klychkov fa382670dc
maintainers_guidelines.rst: add a link to collection release guidelines (#79859) 1 year ago
Christian Adams 9d42447fa5
Add Ansible community 7.2.0 porting guide (#79867) 1 year ago
Jordan Borean 652a74e087
AddType - Support compiling with /unsafe C# code (#79853)
* AddType - Support compiling with /unsafe C# code

* Update Ansible version in docstring
1 year ago
Jordan Borean d16ec2455d
Add tests to cover win_reboot incidental paths (#79856)
* Add tests to cover win_reboot incidental paths

* Fix sanity issues
1 year ago
Matt Clay c33c8cf086
Remove unused and unreachable unit test code (#79854) 1 year ago
Matt Clay 1dce45c42d
ansible-test - Update base and default containers (#79846) 1 year ago
Matt Clay 83fe75db07
Ansible.Basic.cs - Fix compile error on PS 7.3.x (#79848) 1 year ago
Mario Lenz 10f0e5f6d4
Remove dev_guide stubs (#79795)
* Remove dev_guide stubs

* Remove Cisco ACI Dev Guide
1 year ago
Andrew Klychkov 58f0950638
[Docs] add doc links to documentation_contributions.rst (#79840) 1 year ago
Andrew Klychkov 722fc05c31
[Docs] add easyfix/good first issue/docs links (#79830) 1 year ago
Sorin Sbarnea 44dcfde9b8
Improve documentation on requirements.yml (#76140)
Makes it clear that user can use range identifiers with collection
versions inside requirements.yml files.
1 year ago