Skip to content

Commit

Permalink
updated package version to 0.2.0 (#31)
Browse files Browse the repository at this point in the history
* updated package version

* updated CHANGELOG

* autoupdate pre-commit and stac.py
  • Loading branch information
geomatician authored Feb 1, 2023
1 parent fdb5aff commit 0ec1614
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@

repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.2
hooks:
- id: codespell
args: [--ignore-words=.codespellignore]
types_or: [jupyter, markdown, python, shell]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
rev: v0.991
hooks:
- id: mypy
# TODO lint test and scripts too
Expand All @@ -34,7 +34,7 @@ repos:
- types-requests
- types-python-dateutil
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project attempts to match the major and minor versions of [stactools](https://github.com/stac-utils/stactools) and increments the patch number as needed.

## Unreleased
## [Unreleased]

### Changed
## [0.2.0] - 2023-01-31

- updated stactools dependency to version 0.3.0
First release as a stand-alone repository.

### Added
[Unreleased]: https://github.com/stactools-packages/naip/compare/v0.2.0..main
[0.2.0]: https://github.com/stactools-packages/naip/tags/v0.2.0
2 changes: 1 addition & 1 deletion src/stactools/naip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def register_plugin(registry):
registry.register_subcommand(commands.create_naip_command)


__version__ = "0.1.6"
__version__ = "0.2.0"
8 changes: 4 additions & 4 deletions src/stactools/naip/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ def create_item(
sci_ext = ItemScientificExtension.ext(item, add_if_missing=True)
sci_ext.doi = "10.5066/F7QN651G"

pub_citation = """Maxwell, A. E., Warner, T. A., Vanderbilt, B. C., & Ramezan, C. A. (2017).\n
Land cover classification and feature extraction from National Agriculture Imagery Program\n
(NAIP) orthoimagery: A Review. Photogrammetric Engineering & Remote Sensing, 83(11),\n
737-747. https://doi.org/10.14358/pers.83.10.737"""
pub_citation = """Maxwell, A. E., Warner, T. A., Vanderbilt, B. C., & Ramezan, C. A.\n
(2017). Land cover classification and feature extraction from National Agriculture Imagery\n
Program (NAIP) orthoimagery: A Review. Photogrammetric Engineering & Remote Sensing,\n
83(11), 737-747. https://doi.org/10.14358/pers.83.10.737"""

sci_ext.publications = [
Publication("10.14358/PERS.83.10.737", " ".join(pub_citation.split()))
Expand Down

0 comments on commit 0ec1614

Please sign in to comment.