Skip to content

Commit

Permalink
release v1.0.0 merge commit
Browse files Browse the repository at this point in the history
v1.0.0 release
  • Loading branch information
JessicaS11 authored Jan 5, 2024
2 parents 6d7c170 + b4361c6 commit bab441d
Show file tree
Hide file tree
Showing 72 changed files with 9,992 additions and 6,098 deletions.
50 changes: 48 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/54070345?v=4",
"profile": "https://github.com/jpswinski",
"contributions": [
"code"
"code",
"review"
]
},
{
Expand Down Expand Up @@ -422,6 +423,50 @@
"contributions": [
"review"
]
},
{
"login": "rwegener2",
"name": "Rachel Wegener",
"avatar_url": "https://avatars.githubusercontent.com/u/35503632?v=4",
"profile": "https://rwegener2.github.io/",
"contributions": [
"bug",
"code",
"doc",
"ideas",
"maintenance",
"review",
"test",
"tutorial"
]
},
{
"login": "whyjz",
"name": "Whyjay Zheng",
"avatar_url": "https://avatars.githubusercontent.com/u/19339926?v=4",
"profile": "https://whyjz.github.io/",
"contributions": [
"tutorial"
]
},
{
"login": "lheagy",
"name": "Lindsey Heagy",
"avatar_url": "https://avatars.githubusercontent.com/u/6361812?v=4",
"profile": "http://lindseyjh.ca/",
"contributions": [
"mentoring",
"review"
]
},
{
"login": "rtilling",
"name": "rtilling",
"avatar_url": "https://avatars.githubusercontent.com/u/52253385?v=4",
"profile": "https://github.com/rtilling",
"contributions": [
"ideas"
]
}
],
"contributorsPerLine": 7,
Expand All @@ -430,5 +475,6 @@
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true,
"commitConvention": "angular"
"commitConvention": "angular",
"commitType": "docs"
}
41 changes: 41 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[flake8]
#GOAL: max_line_length = 79 or 99
max_line_length = 99
per-file-ignores =
# too many leading '#' for block comment
*/tests/*:E266
# line too long (several test strs)
test_granules.py:E501
# imported but unused
__init__.py:F401
# import not at top of file
doc/source/conf.py:E402

# GOAL: remove these ignores
ignore =
# line too long
E501
# comparison syntax
E711
# comparison syntax
E712
# comparison syntax in tests
E714
# comparison syntax in tests
E721
# bare except
E722
# ambiguous var name
E741
# imported but unused
F401
# unable to detect undefined names
F403
# assigned and unused (in tests)
F841
# line break before binary operator
W503

# GOAL:
# syntax check doctests in docstrings
# doctests = True
17 changes: 0 additions & 17 deletions .github/workflows/flake8_action.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/linter_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run linters on PRs

on:
pull_request:
branches:
- development
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run black linter
uses: psf/black@stable
# use the flake8 linter to annotate improperly formatted code
# note linter arguments are supplied via the .flake8 config file
- name: Annotate PR after running flake8
uses: TrueBrain/actions-flake8@v2

7 changes: 3 additions & 4 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
name: Publish to PyPI
runs-on: ubuntu-latest
if: github.repository == 'icesat2py/icepyx'
permissions:
id-token: write

steps:
- name: Checkout
Expand Down Expand Up @@ -52,11 +54,8 @@ jobs:
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/uml_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Update UML diagrams
on:
pull_request_review:
types: [submitted]
branches: development

jobs:
diagrams:
Expand Down
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.12.0
hooks:
- id: black
- id: black

# you can run `pre-commit autoupdate` to automatically update to the latest version of hooks!
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:

- stage: behind Earthdata
script:
- export NSIDC_LOGIN=$NSIDC_LOGIN
- export EARTHDATA_PASSWORD=$NSIDC_LOGIN
- pytest icepyx/tests/test_behind_NSIDC_API_login.py
Loading

0 comments on commit bab441d

Please sign in to comment.