Skip to content

Commit

Permalink
Check distribution builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Mar 1, 2022
1 parent d3cf82c commit c9f0c59
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ jobs:
- name: Install development tools
run: |
pip install -r requirements.dev.txt
pip install nox
pip install build twine nox
- name: Check formatting
run: nox -s format
- name: Check for lint
run: nox -s lint
- name: Run tests
run: nox -s test
- name: Check distribution build
run: |
python3 -m build
python3 -m twine check dist/*
# Disabling for now.
# docs:
Expand Down
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"

[tool.pydocstyle]
convention = "pep257"
match = ".*\\.py"
add_ignore = [
"D104", # Do not require docstrings for packages (in __init__.py).
"D105", # Ignore missing docstring for magic methods.
"D107", # Ignore missing docstring for __init__ methods. Parameters may be documented in the class docstring.
]

[tool.pylint.messages_control]
disable = [
# Ignore refactor and convention categories
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ license = MIT
license_file = LICENSE
classifiers =
Topic :: Scientific/Engineering :: Bio-Informatics
Development Status :: 2 - Pre-Alpha
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Expand All @@ -17,7 +18,7 @@ package_dir =
packages = find:
install_requires =
numba
python_requires = >=3.6
python_requires = >=3.7
include_package_data = True

[options.packages.find]
Expand Down

0 comments on commit c9f0c59

Please sign in to comment.