Felddy
99c611557e
Remove search for previous pre-commit caches.
...
These seem to be very large caches. Restoring an old one and updating
it results in a cache larger than the maximum allowed cache size: 200MB.
"Cache size of 254757924 bytes is over the 200MB limit, not saving
cache."
So if the config changes it is best to just take the cache-miss and
start from scratch.
2019-11-05 14:51:49 -05:00
Mark Feldhousen
c26ea017cf
Merge branch 'develop' into improvement/action_cache
2019-11-05 14:36:08 -05:00
Felddy
5d5567d303
Add GitHub action caching of pre-commit hooks and pip packages.
2019-11-05 14:27:20 -05:00
Nick M
7dfd8bf735
Merge pull request #21 from cisagov/pre-commit_autoupdate_2019-11-02
...
Re-enable ansible-lint and autoupgrade.
2019-11-05 11:47:19 -05:00
Nicholas McDonnell
3c78dd98a6
Re-enabled ansible-lint and ran pre-commit autoupgrade.
2019-11-02 19:48:42 -04:00
Mark Feldhousen
12b91c4850
Merge pull request #20 from cisagov/improvement/actions
...
Replace Travis-CI with GitHub actions
2019-10-18 11:18:27 -04:00
Felddy
b11e39abd7
Remove extra line.
2019-10-18 11:00:39 -04:00
Felddy
b31ad8591f
Disable ansible-lint until they fix their setup.py
...
See: https://github.com/ansible/ansible-lint/issues/590
2019-10-18 10:46:32 -04:00
Felddy
02fb008d62
Fix action shield link
2019-10-18 10:40:58 -04:00
Felddy
05a136bb11
Replace Travis-CI with GitHub actions.
2019-10-18 10:39:22 -04:00
dav3r
b189690a28
Merge pull request #18 from cisagov/improvement/updates_from_precommit_autoupdate
...
Add updates from running pre-commit autoupdate
2019-10-18 10:21:43 -04:00
Dave Redmin
78a230d46c
Add updates from running pre-commit autoupdate
2019-10-18 10:10:19 -04:00
Shane Frasier
7864f43524
Merge pull request #17 from cisagov/improvement/updates_from_precommit_autoupdate
...
Add updates from running pre-commit autoupdate
2019-09-11 20:35:47 -04:00
Jeremy Frasier
2932d35483
Add updates from running pre-commit autoupdate
2019-09-11 15:58:44 -04:00
Shane Frasier
0c5dacae8b
Merge pull request #16 from cisagov/improvement/markdownlint_config
...
Add markdownlint config
2019-06-24 21:57:25 -04:00
Jeremy Frasier
3fee0b8687
Rename LICENSE.md to LICENSE, make the other changes that requires
...
The license text is not actually in Markdown, and adding the .md
extension actually makes it render a little differently than intended.
2019-06-24 17:17:54 -04:00
Jeremy Frasier
1843ca0b48
Add config file for markdownlint
...
This config file turns off the "line too long" rule when within a code
block or a table. Often there is no way to avoid going over 80 lines
in such cases.
2019-06-24 17:14:02 -04:00
Jeremy Frasier
a13597d233
Update pre-commit hooks via pre-commit autoupdate
2019-06-24 17:11:45 -04:00
Nick M
c449be113d
Merge pull request #15 from cisagov/update_contributing_text_blocks
...
Update two text blocks to use the console tag instead of the bash tag…
2019-06-20 15:57:12 -04:00
Nicholas McDonnell
c6f2adb6ab
Update two text blocks to use the console tag instead of the bash tag for formatting.
2019-06-20 15:14:12 -04:00
Shane Frasier
5da4f0a99f
Merge pull request #14 from cisagov/improvement/tell_prettier_to_ignore_json_files
...
Configure prettier to ignore JSON files
2019-06-07 11:54:49 -04:00
Jeremy Frasier
bd4206bbcd
Configure prettier to ignore JSON files
...
JSON files are already being linted by the pretty-format-json hook.
2019-06-07 11:20:46 -04:00
Shane Frasier
6f566f708e
Merge pull request #13 from cisagov/bugfix/turn_off_terraform_docs_hook
...
Remove the terraform-docs hook
2019-06-06 16:37:37 -04:00
Jeremy Frasier
740457694a
Remove the terraform-docs hook
...
terraform-docs is currently broken with respect to terraform 0.12.
2019-06-06 16:33:07 -04:00
Shane Frasier
dfdc826d31
Merge pull request #12 from cisagov/improvement/update_precommit
...
Add changes from running pre-commit autoupdate
2019-06-06 16:20:14 -04:00
Jeremy Frasier
b58fa62c00
Add changes from running pre-commit autoupdate
2019-06-06 16:12:58 -04:00
Shane Frasier
a0bd7047f6
Merge pull request #11 from cisagov/improvement/use_travisci_caching
...
Use TravisCI caching to speed up builds
2019-05-26 15:06:22 -04:00
Jeremy Frasier
4e9280eb2b
Update pre-commit plugins to latest versions
...
Via pre-commit autoupdate.
2019-05-26 11:57:27 -04:00
Jeremy Frasier
a9ff3a336c
Enable TravisCI caching for pip and pre-commit plugins
...
This should speed up TravisCI builds.
2019-05-26 11:49:13 -04:00
Shane Frasier
76999e2466
Merge pull request #10 from cisagov/improvement/make_bandit_config_pass_yamllint
...
Make .bandit.yml pass yamllint
2019-05-06 11:26:16 -04:00
Jeremy Frasier
eb4fbd751b
Make .bandit.yml pass yamllint
2019-05-06 11:16:05 -04:00
Shane Frasier
c94b79deb5
Merge pull request #9 from cisagov/improvement-bandit-config
...
Run pre-commit autoupdate
2019-05-06 10:59:41 -04:00
Shane Frasier
3a24817f25
Merge branch 'develop' into improvement-bandit-config
2019-05-06 10:47:56 -04:00
Jeremy Frasier
19afa70f67
Run pre-commit autoupdate
...
Also update the URL for black since it moved GitHub orgs from ambv to
python.
2019-05-06 10:44:34 -04:00
Mark Feldhousen
91b5ccdb15
Merge pull request #8 from cisagov/improvement-bandit-config
...
Improvement bandit config
2019-05-06 10:43:05 -04:00
Felddy
1a98e0ed06
Improve english
2019-05-03 16:51:21 -04:00
Felddy
6a64a512e4
Add a configuration file for Bandit, and configure pre-commit to use it.
2019-05-03 16:49:35 -04:00
Shane Frasier
e24cfc6daf
Merge pull request #7 from cisagov/improvement/enable_docstring
...
Add pydoc warnings to flake8 config
2019-05-03 14:36:08 -04:00
Jeremy Frasier
8e0b1d7386
Add pydoc warnings to flake8 config
...
Also add flake8-docstrings as an additional dependency in the
.pre-commit-config.yml file.
2019-05-03 14:30:56 -04:00
Shane Frasier
916d7d5434
Merge pull request #6 from cisagov/improvement/disable_w503
...
Ignore W503 from flake8
2019-04-15 12:07:20 -04:00
Jeremy Frasier
c9f8b72147
Ignore W503 from flake8
...
This is a warning about line breaks before binary operators. It no
longer agrees with PEP8. See, for example, here:
https://github.com/ambv/black/issues/21 .
Guido agrees here:
c59c4376ad
.
2019-04-15 11:43:55 -04:00
Shane Frasier
ce3a97a6a8
Merge pull request #5 from cisagov/improvement/add_bandit
...
Add bandit pre-commit hook
2019-04-04 10:10:07 -04:00
Jeremy Frasier
953752e41a
Add bandit pre-commit hook
...
Also ran pre-commit autoupdate, which picked up a newer version of the
pyupgrade hook.
2019-04-03 22:51:50 -04:00
Shane Frasier
b004df2cff
Merge pull request #4 from cisagov/improvement/add_precommit_hook_for_docker_compose
...
Add pre-commit hook for docker-compose linting
2019-03-30 14:49:41 -04:00
Jeremy Frasier
74e145257c
Remove black and pyupgrade from requirements-test
...
They are not needed there.
Also run pre-commit autoupdate to pick up the latest version of hooks.
2019-03-30 12:47:36 -04:00
Jeremy Frasier
13a180736a
Add pre-commit hook for docker-compose linting
2019-03-30 11:45:50 -04:00
Shane Frasier
3b47b47692
Merge pull request #3 from cisagov/improvement/update_pyenv_instructions
...
Update the pyenv installation instructions
2019-03-14 22:39:04 -04:00
Jeremy Frasier
4d87c35b50
Update the pyenv installation instructions
...
In particular, mention pyenv-installer.
2019-03-14 22:34:36 -04:00
Shane Frasier
2b479fdf28
Merge pull request #2 from cisagov/improvement/remove_author_from_readme
...
Remove author information from README
2019-03-11 09:20:32 -04:00
Jeremy Frasier
d6eb32fabf
Remove author information from README
2019-03-11 09:17:05 -04:00