Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 30, 2021
2 parents c61512b + 719a7ce commit 7f723cc
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 215 deletions.
4 changes: 3 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[run]
omit = .tox/*
omit =
# leading `*/` for pytest-dev/pytest-cov#456
*/.tox/*

[report]
show_missing = True
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
end_of_line = lf

[*.py]
indent_style = space

[*.{yml,yaml}]
indent_style = space
indent_size = 2
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "all"
27 changes: 0 additions & 27 deletions .github/workflows/automerge.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ jobs:
test:
strategy:
matrix:
python: [3.6, 3.8, 3.9]
python:
- 3.6
- 3.9
- 3.10.0-alpha - 3.10.99
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@ repos:
rev: 20.8b1
hooks:
- id: black

- repo: https://github.com/asottile/blacken-docs
rev: v1.9.1
hooks:
- id: blacken-docs
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@

.. image:: https://readthedocs.org/projects/jaracodevelop/badge/?version=latest
:target: https://jaracodevelop.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2021-informational
:target: https://blog.jaraco.com/skeleton
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@
],
)
}

# Be strict about any broken references:
nitpicky = True
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=56", "wheel", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[tool.black]
Expand Down
6 changes: 4 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178
junit_family=xunit2
filterwarnings=
# https://github.com/pytest-dev/pytest/issues/6928
ignore:direct construction of .*Item has been deprecated:DeprecationWarning
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
18 changes: 10 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[metadata]
license_files =
LICENSE
name = jaraco.develop
author = Jason R. Coombs
author_email = jaraco@jaraco.com
Expand Down Expand Up @@ -28,24 +26,28 @@ install_requires =
PyNaCl
packaging
pep517
setup_requires = setuptools_scm[toml] >= 3.4.1

[options.packages.find]
exclude =
build*
dist*
docs*
tests*

[options.extras_require]
testing =
# upstream
pytest >= 3.5, !=3.7.3
pytest-checkdocs >= 1.2.3
pytest >= 4.6
pytest-checkdocs >= 2.4
pytest-flake8
pytest-black >= 0.3.7; python_implementation != "PyPy"
pytest-black >= 0.3.7; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
pytest-cov
pytest-mypy; python_implementation != "PyPy"
pytest-enabler
pytest-mypy; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
pytest-enabler >= 1.0.1

# local

Expand Down
166 changes: 0 additions & 166 deletions skeleton.md

This file was deleted.

7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,21 @@ extras =
testing
changedir = docs
commands =
python -m sphinx . {toxinidir}/build/html
python -m sphinx -W --keep-going . {toxinidir}/build/html

[testenv:release]
skip_install = True
deps =
build
twine[keyring]>=1.13
path
twine>=3
jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
python -c "import path; path.Path('dist').rmtree_p()"
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
python -m twine upload dist/*
python -m jaraco.develop.create-github-release

0 comments on commit 7f723cc

Please sign in to comment.