Mark Feldhousen
0923631e27
Merge pull request #52 from cisagov/improvement/workflows
...
Workflow improvements: 🦁 set-env, and 🐯 python-3.9, and 🐻 dependabot, oh my!
4 years ago
Felddy
7389a1b0cf
Enable weekly dependabot scans of github-actions and pip
4 years ago
Felddy
c9c00f1d03
Replace deprecated set-env workflow syntax
...
See:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
4 years ago
Felddy
6a4164dfba
Bump build workflow python-version to 3.9
4 years ago
Nick M
15411447a6
Merge pull request #51 from cisagov/pre-commit_updates
...
Autoupdate pre-commit and Additional Maintenance
4 years ago
Nicholas McDonnell
d8f14e845b
Sort .gitignore while I'm here
4 years ago
Nicholas McDonnell
ae4aa123c8
Update lint job to resolve #49
4 years ago
Nicholas McDonnell
3e9441c837
Update CODEOWNERS to resolve #50
4 years ago
Nicholas McDonnell
332e5a7669
Run pre-commit autoupdate
4 years ago
Nick M
e0fbcdad8a
Merge pull request #48 from cisagov/improvement/switch_setup-python_and_cache_actions_to_v2
...
Update actions/cache and actions/setup-python to v2
4 years ago
Nicholas McDonnell
969efdd0bb
Adjust cache key name
...
Make the job name the first part of the cache key since
it is the only part that isn't variable.
4 years ago
Nicholas McDonnell
6ab69f4f51
Bump actions/setup-python to v2
...
Keep it up-to-date even though we are not currently
using features added in v2.
4 years ago
Nicholas McDonnell
d6fe79dce3
Update actions/cache to v2
...
Switch the workflow to use cachev2. This puts us up to
date and allows us to consolidate into one cache item.
4 years ago
Nick M
3634093132
Merge pull request #47 from cisagov/improvement/autoupdate_pre-commit
...
Autoupdates to pre-commit Hooks for 2020-07
4 years ago
Nicholas McDonnell
907b89a20b
Add the black profile to the isort configuration
4 years ago
Nicholas McDonnell
91279d3ac2
Perform a pre-commit autoupdate for 2020-07
...
Notable version changes:
- docker-pre-commit v2.0.0
This release includes the addition of two new hooks: hadolint and
hadolint-system. These allow for linting Dockerfiles with the hadolint
Docker image or a system installation of hadolint respectively.
- isort 5.0.7
This release takes us from isort 4 to isort 5. There are a multitude of
changes with information available on the isort 5 release page at
https://timothycrosley.github.io/isort/docs/major_releases/introducing_isort_5/
The most notable feature for us is the addition of built-in profiles for
isort to run under. These profiles provide settings for conforming to various
popular styles, and black is one of the profiles.
4 years ago
Mark Feldhousen
174d55b782
Merge pull request #46 from cisagov/improvement/setup_env
...
setup-env: A tool to automate a development environment setup.
4 years ago
Felddy
db362b9125
Normalize quotes.
4 years ago
Felddy
31980ed4a8
Clean up usage syntax since we now have multiple options.
4 years ago
Felddy
996ae2677a
Add recommendation to install brew, instead of assuming it is available.
4 years ago
Felddy
466ef0cce5
Sort command line flag case statement.
4 years ago
Felddy
482a370679
Switch to a POSIX compliant command... command.
...
This is the way.
I learned something today.
https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then
4 years ago
Felddy
c5e7edf46b
Add flag to install pre-commit hooks now.
4 years ago
Felddy
ae21af1084
Improve usage message.
4 years ago
Felddy
8a105ca040
Respect customs.
4 years ago
Felddy
5d1d134c88
Change to python3 to standardize how we call python.
4 years ago
Felddy
23ef29c8a3
Clarify comment with text from `pyenv local --help`
4 years ago
Felddy
3c2781c8cc
Correct syntax on fence.
...
Closes CVE-2020-3.14159
4 years ago
Felddy
c50094a8de
Fix typo.
4 years ago
Felddy
af06915b05
Add tool and docs to automate development environment setup.
4 years ago
Shane Frasier
6668e3b465
Merge pull request #45 from cisagov/improvement/add-wheel
...
Add setuptools and wheel as pip dependencies
4 years ago
Jeremy Frasier
7f8d430a30
Pull in requirements.txt from requirements-test.txt
4 years ago
Jeremy Frasier
87ea53022c
Add setuptools and wheel as pip dependencies
...
setuptools usually comes along with pip, but wheel does not. Using
wheel where possible to build python extensions is more modern and
more security conscious than using setup.py.
4 years ago
Nick M
70f0cbd612
Merge pull request #44 from cisagov/improvements/pre-commit_autoupdate_2020-05
...
Update pre-commit Hook Versions
4 years ago
Nicholas McDonnell
64edcc22a7
Merge branch 'improvements/pre-commit_autoupdate_2020-05' of github.com:cisagov/skeleton-generic into improvements/pre-commit_autoupdate_2020-05
4 years ago
Nicholas McDonnell
f831ef827c
Add final statement to descriptionf or why terraform_validate is disabled.
...
Review noticed that there lacked a determination for what we were doing about
the problem with the terraform_validate hook. I described the problems but
failed to mention what our path forward would be. This commit rectifies that
oversight.
4 years ago
Nick M
4d4db071b8
Merge branch 'develop' into improvements/pre-commit_autoupdate_2020-05
4 years ago
Nicholas McDonnell
fe4d5eb72a
Disable the terraform_validate hook.
...
We have seen a number of issues related to this hook ever since it was
re-enabled. It will need to remain disabled until at least the 0.13 Terraform
release, and can only be re-enabled if all issues we have seen have been
resolved in how `terraform validate` operates.
4 years ago
Nicholas McDonnell
2399f24622
Remove legacy comment from the isort hook declaration.
...
This comment references the mirrors-isort repository that we are no longer
using.
4 years ago
Nicholas McDonnell
daaebc1cc1
Ran pre-commit autoupdate.
4 years ago
Nicholas McDonnell
ce6658abc6
Update isort pre-commit hook source repository.
...
The mirrors-isort respository has been deprecated per this Pull Request:
https://github.com/pre-commit/mirrors-isort/pull/13
Since isort includes pre-commit configuration in current versions we will
switch to using it directly.
4 years ago
Nicholas McDonnell
7d7a677457
Updated pre-commit configuration with 'pre-commit autoupdate'.
4 years ago
Mark Feldhousen
3301dfa04f
Merge pull request #43 from cisagov/improvement/apb-events
...
Allow events from apb to rebuild this repository weekly.
4 years ago
Felddy
8c99c5294a
Allow events from apb to rebuild this repository weekly.
4 years ago
Hillary
175ae71602
Merge pull request #42 from cisagov/hillaryj-owner
...
Update CODEOWNERS
4 years ago
Hillary
c8b4bcf126
Update CODEOWNERS
4 years ago
Nick M
89b098aefc
Merge pull request #41 from cisagov/bugfix/update_pre-commit_for_pre-commit-terraform_hook
...
Update pre-commit Hooks to Include Bugfix
4 years ago
Nicholas McDonnell
647b351997
Sort .gitignore entries.
4 years ago
Nicholas McDonnell
1f3d440a1a
Rename action to accurately reflect that we are only linting, not building.
...
Adjust description for pre-commit hook setup to better convey what is being
done.
4 years ago
Nicholas McDonnell
b01a0ee7bd
Explicitly install pre-commit hooks as its own step so it's clearer when the
...
failure is with setup rather than hooks running.
4 years ago