Skip to content

Commit

Permalink
Merge pull request #2 from TalusBio/first-release
Browse files Browse the repository at this point in the history
First release
  • Loading branch information
wfondrie authored Nov 8, 2022
2 parents c8abacc + 49b4b12 commit f01b64c
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 59 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: Lint

on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]



jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.8
- name: Setup Python 3
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.x"

- name: Run black
uses: psf/black@stable
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "0 0 1 1/1 *" # Run monthly

jobs:
build:
Expand All @@ -19,9 +14,9 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
Expand All @@ -37,8 +32,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run unit and system tests
run: |
pytest --cov=ppx tests/
#- name: Upload coverage to codecov
# uses: codecov/codecov-action@v1
# with:
# fail_ci_if_error: true
pytest --cov=vizta tests/
- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0 # Replace by any tag/version: https://github.com/psf/black/tags
rev: 22.10.0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog for vizta

## [Unreleased]

## [unreleased]

## [0.0.1] 2022-11-08
### Added
- The first release! :tada:
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# vizta

Talus themes for data visualization in Python.

See the documentation at https://TalusBio.github.io/vizta
6 changes: 6 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Only allow commits that increase or maintain test coverage.
coverage:
status:
project:
default:
target: auto # auto compares coverage to the previous base commit
49 changes: 48 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,54 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"

[project]
name = "vizta"
authors = [{name = "William E. Fondrie", email = "[email protected]"}]
description = "Fast and flexible semi-supervised learning for peptide detection"
license = {text = "Apache 2.0"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
requires-python = ">=3.6"
dependencies = [
"matplotlib>=3.5.1",
"seaborn>=0.11.2",
]
dynamic = ["version"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://github.com/TalusBio/vizta"
Documentation = "https://TalusBio.github.io/vizta"
"Bug Tracker" = "https://github.com/TalusBio/vizta/issues"
"Discussion Board" = "https://github.com/TalusBio/vizta/discussions"

[project.optional-dependencies]
docs = [
"mkdocs>=1.3.0",
"mkdocstrings>=0.18.1",
"mkdocs-material>=8.2.1",
"mkdocs-jupyter>=0.20.1",
"ipykernel>=6.12.1",
]
dev = [
"pre-commit>=2.7.1",
"black>=19.10b0",
]

[tool.setuptools]
include-package-data = false

[tool.setuptools.packages]
find = {namespaces = false}

[tool.setuptools_scm]

[tool.black]
Expand Down
36 changes: 0 additions & 36 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

0 comments on commit f01b64c

Please sign in to comment.