Skip to content

Commit

Permalink
Merge pull request #196 from NTIA/remove_certs
Browse files Browse the repository at this point in the history
Remove certs and fix gps sync
  • Loading branch information
dboulware authored Feb 17, 2022
2 parents 6db8d3c + 527cabb commit 4b7c9f7
Show file tree
Hide file tree
Showing 164 changed files with 7,577 additions and 4,955 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,24 @@ swagger.json
.pytest_cache/
greyhound-*.json
/.admin_password


# Created by https://www.toptal.com/developers/gitignore/api/certificates
# Edit at https://www.toptal.com/developers/gitignore?templates=certificates

### certificates ###
*.pem
*.key
*.crt
*.cer
*.der
*.priv

# End of https://www.toptal.com/developers/gitignore/api/certificates

# Certificate Signing Request
*.csr
# certificate serial number file
*.srl
# certificate extensions
*.ext
2 changes: 1 addition & 1 deletion .ml_style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Enable all rules by default
all

rule 'MD013', :line_length => 88
rule 'MD013', :line_length => 88, :code_blocks => false
rule 'MD007', :indent => 3
31 changes: 18 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: src/static/*|LICENSE.md|.+\.pem|.+\.crt|.vscode/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,24 +10,29 @@ repos:
- id: check-yaml
- id: debug-statements
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.1
rev: v2.2.0
hooks:
- id: seed-isort-config
language_version: python3.6
language_version: python3.7
args: [--application-directories=./src, --settings-path=./src]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
rev: v5.10.1
hooks:
- id: isort
language_version: python3.6
language_version: python3.7
- repo: https://github.com/ambv/black
rev: stable
rev: 22.1.0
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/markdownlint/markdownlint
rev: v0.9.0
hooks:
- id: markdownlint
args: [-s, .ml_style.rb, README.md]
exclude: LICENSE.md
language_version: python3.7
# TODO markdownlint broken
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
# rev: 2.1.5 # or specific git tag
# hooks:
# - id: markdownlint
# - repo: https://github.com/markdownlint/markdownlint
# rev: v0.11.0
# hooks:
# - id: markdownlint
# args: [-s, .ml_style.rb, README.md]
# exclude: LICENSE.md
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_install:
- sudo mknod /dev/bus/usb/001/001 c 189 260

install:
- MOCK_RADIO=1 docker-compose up --build -d
- MOCK_SIGAN=1 docker-compose up --build -d

before_script:
- python3 -m pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "pytest",
"cwd": "${workspaceFolder}/src",
"env": {
"MOCK_RADIO": "true"
"MOCK_SIGAN": "true"
}
},
{
Expand All @@ -25,8 +25,8 @@
],
"django": true,
"env": {
"MOCK_RADIO": "false",
"MOCK_RADIO_RANDOM": "false"
"MOCK_SIGAN": "false",
"MOCK_SIGAN_RANDOM": "false"
},
"envFile": "${workspaceFolder}/env"
}
Expand Down
Loading

0 comments on commit 4b7c9f7

Please sign in to comment.