Skip to content

Commit

Permalink
Update common-definitions hash (#2)
Browse files Browse the repository at this point in the history
* Update common-definitions hash

* Bump nomenclature requirement version

* Bump Python version for validation

* Switch from black to Ruff

* Add Ruff badge
  • Loading branch information
dc-almeida authored Oct 3, 2024
1 parent 7be7974 commit f7e9a4f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 18 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/black.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Ruff
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
4 changes: 2 additions & 2 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11

- name: Install requirements
run: pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Copyright 2022-2024 IIASA

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

## Overview

Expand Down
2 changes: 1 addition & 1 deletion nomenclature.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repositories:
common-definitions:
url: https://github.com/IAMconsortium/common-definitions.git/
hash: 013295a
hash: 23b2833
definitions:
region:
repository: common-definitions
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pyam-iamc >= 1.0 # the `pyam` package is released on pypi under this name
nomenclature-iamc >= 0.11
nomenclature-iamc >= 0.19.0 # use the latest release on PyPI

0 comments on commit f7e9a4f

Please sign in to comment.