Skip to content

Commit 21cf4dc

Browse files
[repo-helper] Configuration Update (#40)
* Updated files with 'repo_helper'. * Use fork of pypa/build to work around encodings issue on Windows Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: Dominic Davis-Foster <[email protected]>
1 parent 94c0d7a commit 21cf4dc

File tree

6 files changed

+28
-8
lines changed

6 files changed

+28
-8
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ tag = True
1212
[bumpversion:file:doc-source/index.rst]
1313

1414
[bumpversion:file:repo_helper.yml]
15+
16+
[bumpversion:file:pyproject.toml]

.github/workflows/python_ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: "windows-2019"
1414
continue-on-error: ${{ matrix.config.experimental }}
1515
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5,pypy-3.6,pypy-3.7'
16+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5'
1717

1818
strategy:
1919
fail-fast: False
@@ -24,8 +24,6 @@ jobs:
2424
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2525
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
2626
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
27-
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
28-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
2927

3028
steps:
3129
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
- id: end-of-file-fixer
2626

2727
- repo: https://github.com/domdfcoding/pre-commit-hooks
28-
rev: v0.2.0
28+
rev: v0.2.1
2929
hooks:
3030
- id: requirements-txt-sorter
3131
args:

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ confidence=
6666
# no Warning level messages displayed, use"--disable=all --enable=classes
6767
# --disable=W"
6868
disable=all
69-
enable=assert-on-tuple,astroid-error,bad-except-order,bad-inline-option,bad-option-value,bad-reversed-sequence,bare-except,binary-op-exception,boolean-datetime,catching-non-exception,cell-var-from-loop,confusing-with-statement,consider-merging-isinstance,consider-using-enumerate,consider-using-ternary,continue-in-finally,cyclic-import,deprecated-pragma,django-not-available,duplicate-except,duplicate-key,eval-used,exec-used,expression-not-assigned,fatal,file-ignored,fixme,global-at-module-level,global-statement,global-variable-not-assigned,global-variable-undefined,http-response-with-content-type-json,http-response-with-json-dumps,invalid-all-object,invalid-characters-in-docstring,len-as-condition,literal-comparison,locally-disabled,locally-enabled,lost-exception,lowercase-l-suffix,misplaced-bare-raise,missing-kwoa,mixed-line-endings,model-has-unicode,model-missing-unicode,model-no-explicit-unicode,model-unicode-not-callable,multiple-imports,multiple-statements,new-db-field-with-default,non-ascii-bytes-literals,nonexistent-operator,not-in-loop,notimplemented-raised,overlapping-except,parse-error,pointless-statement,pointless-string-statement,raising-bad-type,raising-non-exception,raw-checker-failed,redefine-in-handler,redefined-argument-from-local,redefined-builtin,redundant-content-type-for-json-response,reimported,relative-import,return-outside-function,simplifiable-if-statement,singleton-comparison,syntax-error,trailing-comma-tuple,trailing-newlines,unbalanced-tuple-unpacking,undefined-all-variable,undefined-loop-variable,unexpected-line-ending-format,unidiomatic-typecheck,unnecessary-lambda,unnecessary-pass,unnecessary-semicolon,unneeded-not,unpacking-non-sequence,unreachable,unrecognized-inline-option,used-before-assignment,useless-else-on-loop,using-constant-test,wildcard-import,yield-outside-function,useless-return
69+
enable=assert-on-tuple,astroid-error,bad-except-order,bad-inline-option,bad-option-value,bad-reversed-sequence,bare-except,binary-op-exception,boolean-datetime,catching-non-exception,cell-var-from-loop,confusing-with-statement,consider-merging-isinstance,consider-using-enumerate,consider-using-ternary,continue-in-finally,cyclic-import,deprecated-pragma,django-not-available,duplicate-except,duplicate-key,eval-used,exec-used,expression-not-assigned,fatal,file-ignored,fixme,global-at-module-level,global-statement,global-variable-not-assigned,global-variable-undefined,http-response-with-content-type-json,http-response-with-json-dumps,invalid-all-object,invalid-characters-in-docstring,len-as-condition,literal-comparison,locally-disabled,locally-enabled,lost-exception,lowercase-l-suffix,misplaced-bare-raise,missing-kwoa,mixed-line-endings,model-has-unicode,model-missing-unicode,model-no-explicit-unicode,model-unicode-not-callable,multiple-imports,new-db-field-with-default,non-ascii-bytes-literals,nonexistent-operator,not-in-loop,notimplemented-raised,overlapping-except,parse-error,pointless-statement,pointless-string-statement,raising-bad-type,raising-non-exception,raw-checker-failed,redefine-in-handler,redefined-argument-from-local,redefined-builtin,redundant-content-type-for-json-response,reimported,relative-import,return-outside-function,simplifiable-if-statement,singleton-comparison,syntax-error,trailing-comma-tuple,trailing-newlines,unbalanced-tuple-unpacking,undefined-all-variable,undefined-loop-variable,unexpected-line-ending-format,unidiomatic-typecheck,unnecessary-lambda,unnecessary-pass,unnecessary-semicolon,unneeded-not,unpacking-non-sequence,unreachable,unrecognized-inline-option,used-before-assignment,useless-else-on-loop,using-constant-test,wildcard-import,yield-outside-function,useless-return
7070

7171
[REPORTS]
7272

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
[build-system]
22
requires = [ "setuptools>=40.6.0", "wheel>=0.34.2",]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "domdf_python_tools"
7+
version = "2.6.1"
8+
description = "Helpful functions for Python\u2002🐍\u2002🛠️"
9+
readme = "README.rst"
10+
keywords = [ "utilities",]
11+
dynamic = [ "requires-python", "classifiers", "dependencies",]
12+
[[project.authors]]
13+
14+
name = "Dominic Davis-Foster"
15+
16+
[project.license]
17+
file = "LICENSE"
18+
19+
[project.urls]
20+
Homepage = "https://github.com/domdfcoding/domdf_python_tools"
21+
"Issue Tracker" = "https://github.com/domdfcoding/domdf_python_tools/issues"
22+
"Source Code" = "https://github.com/domdfcoding/domdf_python_tools"
23+
Documentation = "https://domdf_python_tools.readthedocs.io/en/latest"

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ commands = sphinx-build -M html . ./build {posargs}
3939
skip_install = True
4040
changedir = {toxinidir}
4141
deps =
42-
twine>=3.2.0
43-
pep517>=0.9.1
42+
git+https://github.com/domdfcoding/build@issue-250
4443
check-wheel-contents>=0.1.0
44+
twine>=3.2.0
4545
commands =
46-
python -m pep517.build --source --binary "{toxinidir}"
46+
python -m build --sdist --wheel "{toxinidir}"
4747
twine check dist/*.tar.gz dist/*.whl
4848
check-wheel-contents dist/
4949

0 commit comments

Comments
 (0)