Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
kdknigga committed Oct 3, 2023
2 parents f7c2a05 + ab1ef04 commit 4dc3b35
Show file tree
Hide file tree
Showing 11 changed files with 349 additions and 289 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ repos:
hooks:
- id: check-json5

- repo: https://github.com/floatingpurr/sync_with_poetry
rev: 1.1.0
hooks:
- id: sync_with_poetry

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
language_version: python3
Expand Down
25 changes: 25 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
strictness: medium

bandit:
run: true

dodgy:
run: true

mccabe:
run: true

mypy:
run: true

profile-validator:
run: true

pycodestyle:
run: true

pyflakes:
run: true

pylint:
run: true
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,3 @@ Must be night current to carry passengers and
logging of night takeoffs and landings can start
(14 CFR 61.57(b))
```

2 changes: 1 addition & 1 deletion notes.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$ poetry export --format=requirements.txt --output=requirements.txt --without-hashes --without-urls
$ poetry export --format=requirements.txt --output=requirements.txt --without-hashes --without-urls
565 changes: 297 additions & 268 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ timezonefinder = {extras = ["numba"], version = "^6.2.0"}
black = "^23.3.0"
prospector = {extras = ["with-bandit", "with-mypy"], version = "^1.9.0"}
pre-commit = "^3.4.0"
types-requests = "^2.31.0.7"
types-python-dateutil = "^2.8.19.14"

[build-system]
requires = ["poetry-core"]
Expand Down
22 changes: 11 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ attrs==23.1.0 ; python_version >= "3.9" and python_version < "4.0"
blinker==1.6.2 ; python_version >= "3.9" and python_version < "4.0"
cattrs==23.1.2 ; python_version >= "3.9" and python_version < "4.0"
certifi==2023.7.22 ; python_version >= "3.9" and python_version < "4.0"
cffi==1.15.1 ; python_version >= "3.9" and python_version < "4"
charset-normalizer==3.2.0 ; python_version >= "3.9" and python_version < "4.0"
cffi==1.16.0 ; python_version >= "3.9" and python_version < "4"
charset-normalizer==3.3.0 ; python_version >= "3.9" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.9" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0" and platform_system == "Windows"
exceptiongroup==1.1.3 ; python_version >= "3.9" and python_version < "3.11"
Expand All @@ -14,23 +14,23 @@ importlib-metadata==6.8.0 ; python_version >= "3.9" and python_version < "3.10"
itsdangerous==2.1.2 ; python_version >= "3.9" and python_version < "4.0"
jinja2==3.1.2 ; python_version >= "3.9" and python_version < "4.0"
jplephem==2.19 ; python_version >= "3.9" and python_version < "4.0"
llvmlite==0.41.0rc1 ; python_version >= "3.9" and python_version < "4"
llvmlite==0.41.0 ; python_version >= "3.9" and python_version < "4"
markupsafe==2.1.3 ; python_version >= "3.9" and python_version < "4.0"
numba==0.58.0rc1 ; python_version >= "3.9" and python_version < "4"
numba==0.58.0 ; python_version >= "3.9" and python_version < "4"
numpy==1.25.2 ; python_version >= "3.9" and python_version < "4.0"
platformdirs==3.10.0 ; python_version >= "3.9" and python_version < "4.0"
platformdirs==3.11.0 ; python_version >= "3.9" and python_version < "4.0"
pycparser==2.21 ; python_version >= "3.9" and python_version < "4"
python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "4.0"
requests-cache==1.1.0 ; python_version >= "3.9" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.9" and python_version < "4.0"
schedule==1.2.0 ; python_version >= "3.9" and python_version < "4.0"
setuptools==68.2.0 ; python_version >= "3.9" and python_version < "4"
schedule==1.2.1 ; python_version >= "3.9" and python_version < "4.0"
setuptools==68.2.2 ; python_version >= "3.9" and python_version < "4"
sgp4==2.22 ; python_version >= "3.9" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
skyfield==1.46 ; python_version >= "3.9" and python_version < "4.0"
timezonefinder[numba]==6.2.0 ; python_version >= "3.9" and python_version < "4"
typing-extensions==4.7.1 ; python_version >= "3.9" and python_version < "3.11"
typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.11"
url-normalize==1.4.3 ; python_version >= "3.9" and python_version < "4.0"
urllib3==2.0.4 ; python_version >= "3.9" and python_version < "4.0"
werkzeug==2.3.7 ; python_version >= "3.9" and python_version < "4.0"
zipp==3.16.2 ; python_version >= "3.9" and python_version < "3.10"
urllib3==2.0.6 ; python_version >= "3.9" and python_version < "4.0"
werkzeug==3.0.0 ; python_version >= "3.9" and python_version < "4.0"
zipp==3.17.0 ; python_version >= "3.9" and python_version < "3.10"
2 changes: 1 addition & 1 deletion templates/assets/css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/assets/js/jquery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/assets/js/script.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
$('#submit_btn').prop('disabled', true);
var queryString = "?airport=" + encodeURIComponent($('#airport').val()) + "&date=" + encodeURIComponent($('#date').val());
window.history.pushState(null, null, queryString);
if (typeof window.ga === "function") {
if (typeof window.ga === "function") {
window.ga('set', 'page', '/' + queryString);
window.ga('send', 'pageview');
};
Expand Down Expand Up @@ -82,11 +82,11 @@

}
}, 'json')
.fail(function(data) {
.fail(function(data) {
$('#error_output').text("An error has occurred: ");
$('#error_output').append(data.responseText);
$('#error_output').show()
$('#output').hide();
$('#output').hide();
})
.always(function() {
$('#submit_btn').prop('disabled', false);
Expand Down Expand Up @@ -212,4 +212,4 @@ <h3 class="text-center card-title">Until one hour before Sunrise and after one h
<script src="/assets/js/script.min.js?h=1254531c2591f2fa5fa5387c78700ec8"></script>
</body>

</html>
</html>

0 comments on commit 4dc3b35

Please sign in to comment.