mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Merge branch 'develop' into improvement/gitignore_me
This commit is contained in:
commit
e140c33929
3 changed files with 39 additions and 15 deletions
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
|
@ -3,8 +3,8 @@
|
||||||
# These owners will be the default owners for everything in the
|
# These owners will be the default owners for everything in the
|
||||||
# repo. Unless a later match takes precedence, these owners will be
|
# repo. Unless a later match takes precedence, these owners will be
|
||||||
# requested for review when someone opens a pull request.
|
# requested for review when someone opens a pull request.
|
||||||
* @dav3r @felddy @hillaryj @jsf9k @mcdonnnj
|
* @dav3r @felddy @jsf9k @mcdonnnj
|
||||||
|
|
||||||
# These folks own any files in the .github directory at the root of
|
# These folks own any files in the .github directory at the root of
|
||||||
# the repository and any of its subdirectories.
|
# the repository and any of its subdirectories.
|
||||||
/.github/ @dav3r @felddy @hillaryj @jsf9k @mcdonnnj
|
/.github/ @dav3r @felddy @jsf9k @mcdonnnj
|
||||||
|
|
|
@ -5,7 +5,7 @@ default_language_version:
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v3.4.0
|
rev: v4.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
|
@ -31,17 +31,17 @@ repos:
|
||||||
|
|
||||||
# Text file hooks
|
# Text file hooks
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.26.0
|
rev: v0.27.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args:
|
args:
|
||||||
- --config=.mdl_config.json
|
- --config=.mdl_config.json
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v2.2.1
|
rev: v2.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.26.0
|
rev: v1.26.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
args:
|
args:
|
||||||
|
@ -49,7 +49,7 @@ repos:
|
||||||
|
|
||||||
# Shell script hooks
|
# Shell script hooks
|
||||||
- repo: https://github.com/lovesegfault/beautysh
|
- repo: https://github.com/lovesegfault/beautysh
|
||||||
rev: 6.0.1
|
rev: v6.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: beautysh
|
- id: beautysh
|
||||||
args:
|
args:
|
||||||
|
@ -68,25 +68,25 @@ repos:
|
||||||
args:
|
args:
|
||||||
- --config=.bandit.yml
|
- --config=.bandit.yml
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 20.8b1
|
rev: 21.5b2
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 3.8.4
|
rev: 3.9.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- flake8-docstrings
|
- flake8-docstrings
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.7.0
|
rev: 5.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.800
|
rev: v0.812
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.10.0
|
rev: v2.19.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ repos:
|
||||||
|
|
||||||
# Terraform hooks
|
# Terraform hooks
|
||||||
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
||||||
rev: v1.45.0
|
rev: v1.50.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: terraform_fmt
|
- id: terraform_fmt
|
||||||
# There are ongoing issues with how this command works. This issue
|
# There are ongoing issues with how this command works. This issue
|
||||||
|
|
|
@ -64,6 +64,9 @@ installation is as simple as `brew install pyenv pyenv-virtualenv` and
|
||||||
adding this to your profile:
|
adding this to your profile:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init --path)"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init -)"
|
||||||
```
|
```
|
||||||
|
@ -80,14 +83,35 @@ On WSL you should treat your platform as whatever Linux distribution
|
||||||
you've chosen to install.
|
you've chosen to install.
|
||||||
|
|
||||||
Once you have installed `pyenv` you will need to add the following
|
Once you have installed `pyenv` you will need to add the following
|
||||||
lines to your `.bashrc`:
|
lines to your `.bash_profile` (or `.profile`):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init --path)"
|
||||||
|
```
|
||||||
|
|
||||||
|
and then add the following lines to your `.bashrc`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export PATH="$PATH:$HOME/.pyenv/bin"
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init -)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you want more information about setting up `pyenv` once installed, please run
|
||||||
|
|
||||||
|
```console
|
||||||
|
pyenv init
|
||||||
|
```
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
```console
|
||||||
|
pyenv virtualenv-init
|
||||||
|
```
|
||||||
|
|
||||||
|
for the current configuration instructions.
|
||||||
|
|
||||||
If you are using a shell other than `bash` you should follow the
|
If you are using a shell other than `bash` you should follow the
|
||||||
instructions that the `pyenv-installer` script outputs.
|
instructions that the `pyenv-installer` script outputs.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue