Skip to content

Commit afe033d

Browse files
authored
chore: misc updates (#109)
1 parent 5090e6e commit afe033d

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: publish docs
1+
name: docs
22
on:
33
push:
44
branches:

.github/workflows/test_and_deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
python-version: [3.7, 3.8, 3.9 ,"3.10", "3.11"]
26+
python-version: [3.8, 3.9, "3.10", "3.11"]
2727
platform: [ubuntu-latest, macos-latest, windows-latest]
2828
steps:
2929
- name: Cancel Previous Runs
@@ -62,7 +62,7 @@ jobs:
6262
- name: Set up Python 3.10
6363
uses: actions/setup-python@v4
6464
with:
65-
python-version: '3.10'
65+
python-version: "3.10"
6666

6767
- name: Install dependencies
6868
run: |
@@ -90,7 +90,7 @@ jobs:
9090
- name: Set up Python 3.10
9191
uses: actions/setup-python@v4
9292
with:
93-
python-version: '3.10'
93+
python-version: "3.10"
9494

9595
- name: Install dependencies
9696
run: |
@@ -105,7 +105,6 @@ jobs:
105105
run: pytest -v --color=yes -W ignore
106106
working-directory: pymmcore-widgets-from-github
107107

108-
109108
deploy:
110109
needs: test
111110
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,21 @@ ci:
66
default_install_hook_types: [pre-commit, commit-msg]
77

88
repos:
9-
- repo: https://github.com/compilerla/conventional-pre-commit
10-
rev: v2.3.0
11-
hooks:
12-
- id: conventional-pre-commit
13-
stages: [commit-msg]
14-
159
- repo: https://github.com/pre-commit/pre-commit-hooks
1610
rev: v4.4.0
1711
hooks:
1812
- id: check-docstring-first
19-
- id: end-of-file-fixer
20-
- id: trailing-whitespace
2113
- id: pretty-format-json
2214
args: ["--autofix"]
2315

2416
- repo: https://github.com/charliermarsh/ruff-pre-commit
25-
rev: v0.0.275
17+
rev: v0.0.280
2618
hooks:
2719
- id: ruff
2820
args: [--fix]
2921

3022
- repo: https://github.com/psf/black
31-
rev: 23.3.0
23+
rev: 23.7.0
3224
hooks:
3325
- id: black
3426

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# useq-schema
22

33
[![License](https://img.shields.io/pypi/l/useq-schema.svg?color=green)](https://github.com/pymmcore-plus/useq-schema/raw/main/LICENSE)
4+
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/useq-schema)](https://pypi.org/project/useq-schema)
45
[![PyPI](https://img.shields.io/pypi/v/useq-schema.svg?color=green)](https://pypi.org/project/useq-schema)
6+
[![Conda](https://img.shields.io/conda/vn/conda-forge/useq-schema)](https://anaconda.org/conda-forge/useq-schema)
57
[![tests](https://github.com/pymmcore-plus/useq-schema/actions/workflows/test_and_deploy.yml/badge.svg)](https://github.com/pymmcore-plus/useq-schema/actions/workflows/test_and_deploy.yml)
68
[![docs](https://github.com/pymmcore-plus/useq-schema/actions/workflows/docs.yml/badge.svg)](https://pymmcore-plus.github.io/useq-schema/)
79
[![codecov](https://codecov.io/gh/pymmcore-plus/useq-schema/branch/main/graph/badge.svg)](https://codecov.io/gh/pymmcore-plus/useq-schema)

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "useq-schema"
99
description = "Schema for multi-dimensional microscopy experiments"
1010
readme = "README.md"
1111
keywords = ["microscopy", "schema"]
12-
requires-python = ">=3.7"
12+
requires-python = ">=3.8"
1313
license = { text = "BSD 3-Clause License" }
1414
authors = [{ email = "talley.lambert@gmail.com", name = "Talley Lambert" }]
1515
classifiers = [
@@ -20,10 +20,16 @@ classifiers = [
2020
"Operating System :: OS Independent",
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3 :: Only",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
2327
"Topic :: Scientific/Engineering",
2428
"Topic :: Scientific/Engineering :: Medical Science Apps.",
2529
"Topic :: Scientific/Engineering :: Image Processing",
2630
"Topic :: Software Development",
31+
"Topic :: System :: Hardware",
32+
"Typing :: Typed",
2733
]
2834
dynamic = ["version"]
2935
dependencies = ["pydantic<2.0", "numpy"]
@@ -62,9 +68,10 @@ packages = ["src/useq"]
6268
# https://beta.ruff.rs/docs/rules/
6369
[tool.ruff]
6470
line-length = 88
65-
target-version = "py37"
71+
target-version = "py38"
6672
src = ["src", "tests"]
6773
select = [
74+
"W", # style warnings
6875
"E", # style errors
6976
"F", # flakes
7077
"D", # pydocstyle
@@ -78,6 +85,7 @@ select = [
7885
"TID", # flake8-tidy-imports
7986
"RUF", # ruff-specific rules
8087
"PERF", # performance
88+
"SLF", # private access
8189
]
8290
ignore = [
8391
"D100", # Missing docstring in public module

0 commit comments

Comments
 (0)