Skip to content

Commit

Permalink
Merge 70eefe6 into 1d45b55
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Apr 16, 2024
2 parents 1d45b55 + 70eefe6 commit f021bb7
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.9.1
rev: v0.11.0
hooks:
- id: reformat-pyproject

Expand Down
6 changes: 6 additions & 0 deletions doc-source/conf.py
Expand Up @@ -74,8 +74,14 @@
def setup(app):
# 3rd party
from sphinx_toolbox.latex import better_header_layout
from sphinxemoji import sphinxemoji

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


nitpicky = True
Expand Down
16 changes: 8 additions & 8 deletions formate.toml
Expand Up @@ -6,21 +6,17 @@ noqa-reformat = 60
ellipsis-reformat = 70
squish_stubs = 80

[config]
indent = "\t"
line_length = 115

[hooks.yapf]
priority = 30

[hooks.isort]
priority = 50

[hooks.yapf.kwargs]
yapf_style = ".style.yapf"

[hooks.isort]
priority = 50

[hooks.isort.kwargs]
indent = "\t\t"
indent = " "
multi_line_output = 8
import_heading_stdlib = "stdlib"
import_heading_thirdparty = "3rd party"
Expand Down Expand Up @@ -64,3 +60,7 @@ known_third_party = [
"whey_pth",
]
known_first_party = [ "whey",]

[config]
indent = " "
line_length = 115
41 changes: 19 additions & 22 deletions pyproject.toml
Expand Up @@ -33,14 +33,13 @@ classifiers = [
]
dynamic = [ "dependencies",]

[project.license]
file = "LICENSE"

[[project.authors]]
name = "Dominic Davis-Foster"
email = "dominic@davis-foster.co.uk"


[project.license]
file = "LICENSE"

[project.urls]
Homepage = "https://github.com/repo-helper/whey"
"Issue Tracker" = "https://github.com/repo-helper/whey/issues"
Expand All @@ -50,6 +49,10 @@ Documentation = "https://whey.readthedocs.io/en/latest"
[project.scripts]
whey = "whey.__main__:main"

[project.entry-points."whey.builder"]
whey_sdist = "whey.builder:SDistBuilder"
whey_wheel = "whey.builder:WheelBuilder"

[project.optional-dependencies]
readme = [ "docutils>=0.16", "pyproject-parser[readme]>=0.11.0b1",]
editable = [ "editables>=0.2",]
Expand Down Expand Up @@ -81,7 +84,6 @@ extensions = [
"sphinx.ext.mathjax",
"sphinxcontrib.extras_require",
"sphinx.ext.todo",
"sphinxemoji.sphinxemoji",
"notfound.extension",
"sphinx_copybutton",
"sphinxcontrib.default_values",
Expand All @@ -96,7 +98,6 @@ extensions = [
"attr_utils.autoattrs",
"local_extension",
]
sphinxemoji_style = "twemoji"
gitstamp_fmt = "%d %b %Y"
templates_path = [ "_templates",]
html_static_path = [ "_static",]
Expand Down Expand Up @@ -171,15 +172,23 @@ show_error_codes = true
[tool.snippet-fmt]
directives = [ "code-block",]

[tool.snippet-fmt.languages.python]
reformat = true

[tool.snippet-fmt.languages.toml]

[tool.snippet-fmt.languages.TOML]
reformat = true

[tool.snippet-fmt.languages.ini]

[tool.snippet-fmt.languages.json]

[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = [ "Windows", "macOS", "Linux",]

[project.entry-points."whey.builder"]
whey_sdist = "whey.builder:SDistBuilder"
whey_wheel = "whey.builder:WheelBuilder"

[tool.dependency-dash."requirements.txt"]
order = 10

Expand All @@ -193,15 +202,3 @@ include = false

[tool.dep_checker.name_mapping]
attrs = "attr"

[tool.snippet-fmt.languages.python]
reformat = true

[tool.snippet-fmt.languages.toml]

[tool.snippet-fmt.languages.TOML]
reformat = true

[tool.snippet-fmt.languages.ini]

[tool.snippet-fmt.languages.json]

0 comments on commit f021bb7

Please sign in to comment.