Skip to content

Commit 98e1fe2

Browse files
authored
Merge pull request #6 from josteinl/main
Update CHANGES.md
2 parents cfebda2 + ff79490 commit 98e1fe2

8 files changed

Lines changed: 430 additions & 455 deletions

File tree

.github/workflows/branch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
fail-fast: false
88
matrix:
99
python-version: ['3.9', '3.10', '3.11']
10-
poetry-version: ['1.4.2']
10+
poetry-version: ['1.6.1']
1111
os: [ubuntu-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
python-version: ['3.9', '3.10', '3.11']
33-
poetry-version: ['1.4.2']
33+
poetry-version: ['1.6.1']
3434
os: [ubuntu-latest]
3535
runs-on: ${{ matrix.os }}
3636
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
python-version: ['3.11']
13-
poetry-version: ['1.4.2']
13+
poetry-version: ['1.6.1']
1414
os: [ubuntu-latest]
1515
runs-on: ${{ matrix.os }}
1616
steps:

CHANGES.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# NGI Python Coordinate Projector Package
22

3-
_2023-03-03_
3+
_2023-08-24_
4+
5+
Version 0.0.9
6+
7+
- Update packages.
8+
9+
_2023-05-16_
10+
11+
Version 0.0.8
12+
13+
- Change valid Python versions to ">=3.9,<4".
14+
- Update packages.
15+
16+
- _2023-03-03_
417

518
Version 0.0.7
619

poetry.lock

Lines changed: 402 additions & 445 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = '''
1515

1616
[tool.poetry]
1717
name = "coordinate-projector"
18-
version = "0.0.8"
18+
version = "0.0.9"
1919
description = "Project points from one projection to another using pyproj"
2020
license = "MIT"
2121
authors = ["Helge Smebye", "Jostein Leira <jostein@leira.net>"]
@@ -34,6 +34,11 @@ packages = [
3434
]
3535

3636

37+
[tool.ruff]
38+
line-length = 120
39+
src = ["src", "tests"]
40+
41+
3742
[tool.poetry.dependencies]
3843
python = ">=3.9,<4"
3944
pyproj = "^3.5.0"
@@ -42,14 +47,15 @@ types-python-dateutil = "^2.8.19"
4247
timezonefinder = "*"
4348

4449

45-
[tool.poetry.dev-dependencies]
50+
[tool.poetry.group.dev.dependencies]
4651
black = "*"
4752
pytest = "*"
4853
pytest-cov = "*"
4954
mypy = "*"
5055
bandit = "*"
5156
safety = "*"
5257
pip-licenses = "*"
58+
ruff = "*"
5359

5460
[build-system]
5561
requires = ["poetry-core>=1.0.0"]
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from coordinate_projector.projector import *
2-
from coordinate_projector.projections import *
1+
from coordinate_projector.projector import Projector
32
from coordinate_projector.datetime_parser import ensure_tz
43
from coordinate_projector.datetime_parser import datetime_to_json

src/coordinate_projector/projections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Dict, Optional, Any
1+
from typing import Dict, Any
22
import json
33
import os
44

tests/test_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pytest
77
from dateutil import tz
88

9-
from coordinate_projector import datetime_to_json
9+
from coordinate_projector.datetime_parser import datetime_to_json
1010

1111

1212
class TestDatetime:

0 commit comments

Comments
 (0)