-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed an issue where coordinate handling for multiple locations would mix up x with the wrong y coordinates - Fixed an issue where requesting Arome coordinates could end up with a floating point rounding error due to differences in the handling of those between Xarray and Numpy. - Added logging messages for Gunicorn environments for requests. - Changed logging for environments where KNMI Waarnemingen can't find a locale to configure the datetime value to be used by.
- Loading branch information
1 parent
5830d4a
commit ea2d7e0
Showing
130 changed files
with
15,101 additions
and
15,713 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[run] | ||
include = | ||
[run] | ||
include = | ||
weather_provider_api/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
name: Pull Request Evaluation | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
# ---------------------------------------------------------------- # | ||
# | Coverage and SonarCloud.io upload | # | ||
# ---------------------------------------------------------------- # | ||
tests-and-sonarcloud: | ||
strategy: | ||
matrix: | ||
version: ["3.8", "3.9", "3.10"] # TODO: Get Python versions from the project | ||
name: Testing and updating SonarCloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Branch checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# Install Python | ||
- name: Setup Python installation | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.version }} | ||
# Install Poetry | ||
- name: Setup Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
poetry self update --preview | ||
echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
# Install required dependencies | ||
- name: Install dependencies | ||
run: poetry install -v --with dev | ||
# Run Coverage | ||
- name: Run Coverage | ||
run: | | ||
poetry run coverage run -m pytest | ||
poetry run coverage report | ||
# Generate XML Coverage result file | ||
- if: matrix.version == '3.8' | ||
name: Generate Coverage XML file | ||
run: poetry run coverage xml | ||
# Upload coverage data to SonarCloud.io | ||
- if: matrix.version == '3.8' | ||
name: Update SonarCloud.io | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
name: Pull Request Evaluation | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
# ---------------------------------------------------------------- # | ||
# | Coverage and SonarCloud.io upload | # | ||
# ---------------------------------------------------------------- # | ||
tests-and-sonarcloud: | ||
strategy: | ||
matrix: | ||
version: ["3.8", "3.9", "3.10"] # TODO: Get Python versions from the project | ||
name: Testing and updating SonarCloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Branch checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# Install Python | ||
- name: Setup Python installation | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.version }} | ||
# Install Poetry | ||
- name: Setup Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
poetry self update --preview | ||
echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
# Install required dependencies | ||
- name: Install dependencies | ||
run: poetry install -v --with dev | ||
# Run Coverage | ||
- name: Run Coverage | ||
run: | | ||
poetry run coverage run -m pytest | ||
poetry run coverage report | ||
# Generate XML Coverage result file | ||
- if: matrix.version == '3.8' | ||
name: Generate Coverage XML file | ||
run: poetry run coverage xml | ||
# Upload coverage data to SonarCloud.io | ||
- if: matrix.version == '3.8' | ||
name: Update SonarCloud.io | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
Oops, something went wrong.