-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the countries attribute and check_iso3_codes() method to Region…
…Code object (#240) * Added the countries attribute and check_iso3_codes() method * Added validator decorator and changed tests * Added pycountry to dependencies in the setup.cfg file * Added message to error, test still failing * Added ValueError and other small fixes * Fixed failing ValueError test --------- Co-authored-by: Philip Hackstock <20710924+phackstock@users.noreply.github.com>
- Loading branch information
1 parent
be48466
commit cdddd46
Showing
3 changed files
with
162 additions
and
43 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
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,43 +1,44 @@ | ||
[metadata] | ||
name = nomenclature-iamc | ||
author = Scenario Services team, ECE program, IIASA | ||
author_email = ece-scse@iiasa.ac.at | ||
license = APACHE-2.0 | ||
description = Package for managing codelists & attributes for IAMC-format datasets | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/IAMconsortium/nomenclature | ||
|
||
[options] | ||
packages = nomenclature | ||
include_package_data = True | ||
python_requires = >= 3.8 | ||
install_requires = | ||
click >= 8 | ||
pyam-iamc >= 1.7.0 | ||
openpyxl | ||
setuptools >= 41 | ||
pydantic | ||
pyyaml | ||
jsonschema | ||
setuptools_scm | ||
pandas >= 1.5.2 | ||
numpy | ||
setup_requires = | ||
setuptools >= 41 | ||
setuptools_scm | ||
|
||
[options.extras_require] | ||
tests = | ||
pytest | ||
docs = | ||
sphinx | ||
sphinx-click | ||
numpydoc | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
nomenclature = nomenclature:cli | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
[metadata] | ||
name = nomenclature-iamc | ||
author = Scenario Services team, ECE program, IIASA | ||
author_email = ece-scse@iiasa.ac.at | ||
license = APACHE-2.0 | ||
description = Package for managing codelists & attributes for IAMC-format datasets | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/IAMconsortium/nomenclature | ||
|
||
[options] | ||
packages = nomenclature | ||
include_package_data = True | ||
python_requires = >= 3.8 | ||
install_requires = | ||
click >= 8 | ||
pyam-iamc >= 1.7.0 | ||
openpyxl | ||
setuptools >= 41 | ||
pydantic | ||
pyyaml | ||
jsonschema | ||
setuptools_scm | ||
pandas >= 1.5.2 | ||
numpy | ||
pycountry | ||
setup_requires = | ||
setuptools >= 41 | ||
setuptools_scm | ||
|
||
[options.extras_require] | ||
tests = | ||
pytest | ||
docs = | ||
sphinx | ||
sphinx-click | ||
numpydoc | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
nomenclature = nomenclature:cli | ||
|
||
[flake8] | ||
max-line-length = 88 |
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