Skip to content

Commit

Permalink
Merge pull request #95 from neutrinoceros/add_py_typed_marker
Browse files Browse the repository at this point in the history
TYP: add py.typed marker file to improve downstream type-checking
  • Loading branch information
neutrinoceros authored Jan 30, 2022
2 parents 4686cd2 + d3a4a3c commit 7a1af79
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.0.2] - 2022-01-30

TYP: add py.typed marker file to improve downstream type-checking
[PR #94](https://github.com/neutrinoceros/inifix/pull/94)

## [1.0.1] - 2022-01-30

TYP: improve type-correctness [PR #93](https://github.com/neutrinoceros/inifix/pull/93)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `inifix`

[![PyPI](https://img.shields.io/pypi/v/inifix.svg?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/inifix/)
[![PyPI](https://img.shields.io/pypi/pyversions/inifix/1.0.1?logo=python&logoColor=white&label=Python)](https://pypi.org/project/inifix/)
[![PyPI](https://img.shields.io/pypi/pyversions/inifix/1.0.2?logo=python&logoColor=white&label=Python)](https://pypi.org/project/inifix/)
[![codecov](https://codecov.io/gh/neutrinoceros/inifix/branch/main/graph/badge.svg)](https://codecov.io/gh/neutrinoceros/inifix)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down
2 changes: 1 addition & 1 deletion inifix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .io import load
from .validation import validate_inifile_schema

__version__ = "1.0.1"
__version__ = "1.0.2"
Empty file added inifix/py.typed
Empty file.
6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = inifix
version = 1.0.1
version = 1.0.2
description = I/O facility for Idefix/Pluto configuration files
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down Expand Up @@ -40,6 +40,10 @@ dev =
typecheck =
mypy==0.931

[options.package_data]
inifix =
py.typed

[flake8]
exclude = *__init__.py
ignore = E203, E501, W503
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from setuptools import setup

setup()

0 comments on commit 7a1af79

Please sign in to comment.