hjoukl

Results 8 comments of hjoukl

I can confirm this behaviour (Python 2.7.5, prospector 0.12.4, pycodestyle 2.0.0) `prospector --profile=/path/to/my/profile.yaml /path/to/my/python_package/python_file.py` yields different results than `prospector --profile=/path/to/my/profile.yaml /path/to/my/python_package/` Namely all the pep8/pycodestyle messages are missing for the...

Looks to me like the reason for this is that the pep8/pycodestyle tool [only runs on the found *packages*](https://github.com/landscapeio/prospector/blob/a5606a9e7312bbae17e16d0b942e39c8f0c463c0/prospector/tools/pep8/__init__.py#L123-L128) in case of a directory PATH command line argument: ``` #...

Essentially there's 2 ways to fix this: 1. Use `iter_module_paths()` instead of `iter_package_paths()` on `the found_files` object (which is either a `FoundFiles` or a `SingleFiles` instance): - Pro: All Python...

445b561 bails out of changing finder APIs or compromising on pycodestyle external configurability and uses a simple 3rd option: Instead of iter_package_paths() use iter_module_paths() for explicit files mode and rootpath...

Can confirm on Linux: ``` 0 $ ls ~/.config/sops/age/keys.txt /home/holger/.config/sops/age/keys.txt@ 0 $ sops -d secrets.enc.yaml Failed to get the data key required to decrypt the SOPS file. Group 0: FAILED...

Just ran into this myself. Note that this issue has obviously been fixed in the sources but never been released, unfortunately. So you may get around it by directly installing...

Great, looking forward to v3! pyinfra is fabulous. :-)

Works great! Just tried it out for the 1st time (with v3.0.b4): ``` $ pyinfra myserver fact systemd.SystemdStatus services='["network.service", "goferd.service"]' --> Loading config... --> Loading inventory... --> Connecting to hosts......