Skip to content

Commit ffaad0e

Browse files
repo-helper[bot]domdfcoding
authored andcommitted
Updated files with 'repo_helper'.
1 parent 03d9841 commit ffaad0e

File tree

8 files changed

+33
-38
lines changed

8 files changed

+33
-38
lines changed

.dependabot/config.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ updates:
66
directory: /
77
schedule:
88
interval: weekly
9+
open-pull-requests-limit: 0
910
reviewers:
1011
- domdfcoding

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ permissions:
1818

1919
jobs:
2020
tests:
21-
name: "macos-latest / Python ${{ matrix.config.python-version }}"
22-
runs-on: "macos-latest"
21+
name: "macos-13 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "macos-13"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
2525
USING_COVERAGE: '3.8'

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/repo-helper/pyproject-parser
11-
rev: v0.9.1
11+
rev: v0.11.0
1212
hooks:
1313
- id: reformat-pyproject
1414

@@ -43,7 +43,7 @@ repos:
4343
- id: bind-requirements
4444

4545
- repo: https://github.com/domdfcoding/flake8-dunder-all
46-
rev: v0.3.1
46+
rev: v0.4.1
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^contributing/.*\.py$

doc-source/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,14 @@
7474
def setup(app):
7575
# 3rd party
7676
from sphinx_toolbox.latex import better_header_layout
77+
from sphinxemoji import sphinxemoji
7778

7879
app.connect("config-inited", lambda app, config: better_header_layout(config))
80+
app.connect("build-finished", sphinxemoji.copy_asset_files)
81+
app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js")
82+
app.add_js_file("twemoji.js")
83+
app.add_css_file("twemoji.css")
84+
app.add_transform(sphinxemoji.EmojiSubstitutions)
7985

8086

8187
nitpicky = True

formate.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ noqa-reformat = 60
66
ellipsis-reformat = 70
77
squish_stubs = 80
88

9-
[config]
10-
indent = "\t"
11-
line_length = 115
12-
139
[hooks.yapf]
1410
priority = 30
1511

16-
[hooks.isort]
17-
priority = 50
18-
1912
[hooks.yapf.kwargs]
2013
yapf_style = ".style.yapf"
2114

15+
[hooks.isort]
16+
priority = 50
17+
2218
[hooks.isort.kwargs]
23-
indent = "\t\t"
19+
indent = " "
2420
multi_line_output = 8
2521
import_heading_stdlib = "stdlib"
2622
import_heading_thirdparty = "3rd party"
@@ -32,4 +28,8 @@ use_parentheses = true
3228
remove_redundant_aliases = true
3329
default_section = "THIRDPARTY"
3430
known_third_party = []
35-
known_first_party = "contributing"
31+
known_first_party = [ "contributing",]
32+
33+
[config]
34+
indent = " "
35+
line_length = 115

pyproject.toml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ readme = "README.rst"
1010
keywords = []
1111
dynamic = [ "requires-python", "classifiers", "dependencies",]
1212

13+
[project.license]
14+
file = "LICENSE"
15+
1316
[[project.authors]]
1417
name = "Dominic Davis-Foster"
1518
email = "dominic@davis-foster.co.uk"
1619

17-
18-
[project.license]
19-
file = "LICENSE"
20-
2120
[project.urls]
2221
Homepage = "https://github.com/repo-helper/contributing"
2322
"Issue Tracker" = "https://github.com/repo-helper/contributing/issues"
@@ -54,7 +53,6 @@ extensions = [
5453
"sphinx.ext.mathjax",
5554
"sphinxcontrib.extras_require",
5655
"sphinx.ext.todo",
57-
"sphinxemoji.sphinxemoji",
5856
"notfound.extension",
5957
"sphinx_copybutton",
6058
"sphinxcontrib.default_values",
@@ -64,7 +62,6 @@ extensions = [
6462
"html_section",
6563
"html_section",
6664
]
67-
sphinxemoji_style = "twemoji"
6865
gitstamp_fmt = "%d %b %Y"
6966
templates_path = [ "_templates",]
7067
html_static_path = [ "_static",]
@@ -124,13 +121,6 @@ show_error_codes = true
124121
[tool.snippet-fmt]
125122
directives = [ "code-block",]
126123

127-
[tool.dependency-dash."requirements.txt"]
128-
order = 10
129-
130-
[tool.dependency-dash."doc-source/requirements.txt"]
131-
order = 30
132-
include = false
133-
134124
[tool.snippet-fmt.languages.python]
135125
reformat = true
136126

@@ -140,3 +130,10 @@ reformat = true
140130
[tool.snippet-fmt.languages.ini]
141131

142132
[tool.snippet-fmt.languages.json]
133+
134+
[tool.dependency-dash."requirements.txt"]
135+
order = 10
136+
137+
[tool.dependency-dash."doc-source/requirements.txt"]
138+
order = 30
139+
include = false

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ setenv =
5959
PYTHONDEVMODE=1
6060
PIP_DISABLE_PIP_VERSION_CHECK=1
6161
PIP_PREFER_BINARY=1
62+
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
6263
skip_install = True
6364
changedir = {toxinidir}
6465
deps =
6566
build[virtualenv]>=0.3.1
6667
check-wheel-contents>=0.1.0
67-
twine>=3.2.0; python_version < "3.13"
68-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
68+
twine>=3.2.0
6969
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7070
commands =
7171
python -m build --sdist --wheel "{toxinidir}"
@@ -87,7 +87,7 @@ deps =
8787
flake8-github-actions>=0.1.0
8888
flake8-noqa>=1.1.0,<=1.2.2
8989
flake8-pyi>=20.10.0,<=22.8.0
90-
flake8-pytest-style>=1.3.0
90+
flake8-pytest-style>=1.3.0,<2
9191
flake8-quotes>=3.3.0
9292
flake8-slots>=0.1.0
9393
flake8-sphinx-links>=0.0.4

0 commit comments

Comments
 (0)