Skip to content

Commit cca3717

Browse files
committed
lint
1 parent 83e5e68 commit cca3717

5 files changed

Lines changed: 72 additions & 8 deletions

File tree

.flake8

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
paths:
6+
- "**.py"
7+
- ".github/workflows/ci.yml"
8+
pull_request:
9+
10+
11+
jobs:
12+
13+
linux:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
strategy:
17+
matrix:
18+
python-version: [ '3.10' ]
19+
20+
name: Python ${{ matrix.python-version }}
21+
22+
steps:
23+
- uses: actions/checkout@v6
24+
25+
- uses: actions/setup-python@v6
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
29+
- run: pip install .[tests]
30+
31+
- run: mypy --install-types --non-interactive
32+
33+
# - run: pytest
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
2+
3+
name: publish
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
release:
11+
12+
runs-on: ubuntu-latest
13+
14+
environment: release
15+
16+
permissions:
17+
id-token: write
18+
19+
steps:
20+
- uses: actions/checkout@v5
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v6
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install builder
28+
run: pip install build
29+
30+
- name: Build package
31+
run: python -m build
32+
33+
- name: Publish package
34+
uses: pypa/gh-action-pypi-publish@release/v1

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
[![image](https://zenodo.org/badge/DOI/10.5281/zenodo.168226.svg)](https://doi.org/10.5281/zenodo.168226)
1+
# Ionosphere AI
22

3-
[![Build Status](https://travis-ci.org/space-physics/ionosphereAI.svg?branch=master)](https://travis-ci.org/space-physics/ionosphereAI)
4-
[![Coverage Status](https://coveralls.io/repos/github/space-physics/ionosphereAI/badge.svg?branch=master)](https://coveralls.io/github/space-physics/ionosphereAI?branch=master)
5-
[![Build status](https://ci.appveyor.com/api/projects/status/w2vi0awovp9e1t4r?svg=true)](https://ci.appveyor.com/project/scivision/ionosphereai)
3+
[![image](https://zenodo.org/badge/DOI/10.5281/zenodo.168226.svg)](https://doi.org/10.5281/zenodo.168226)
4+
[![ci](https://github.com/space-physics/ionosphereAI/actions/workflows/ci.yml/badge.svg)](https://github.com/space-physics/ionosphereAI/actions/workflows/ci.yml)
65

7-
# Ionosphere AI
86

97
Machine learning and computer vision techniques for auroral video, passive FM radar, incoherent scatter radar and other geoscience data using collective behavior detection.
108
The programs are OS/platform-agnostic.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ version = {attr = "ionosphereAI.__version__"}
4040
files = ["."]
4141
ignore_missing_imports = true
4242
allow_redefinition = true
43+
install_types = true
44+
exclude = ["^build([/\\\\]|$)"]

0 commit comments

Comments
 (0)