Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/domdfcoding/pre-commit-hooks
rev: v0.4.0
rev: v0.5.0
hooks:
- id: requirements-txt-sorter
args:
Expand Down Expand Up @@ -80,7 +80,7 @@ repos:
- id: snippet-fmt

- repo: https://github.com/python-formate/formate
rev: v0.9.0
rev: v1.1.2
hooks:
- id: formate
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Contributing Guide

.. start short_desc

**Contributing guide for repo-helper and associated projects**
**Contributing guide for projects in the python-formate organization**

.. end short_desc

View online at https://contributing.repo-helper.uk
View online at https://contributing-to-formate.readthedocs.io/
2 changes: 1 addition & 1 deletion contributing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# __init__.py
"""
Contributing guide for repo-helper and associated projects.
Contributing guide for projects in the python-formate organization.
"""
#
# Copyright © 2020-2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
Expand Down
1 change: 1 addition & 0 deletions doc-source/_templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
{% extends "!base.html" %}
{% block extrahead %}
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
<link rel=icon href=https://python-formate.github.io/assets/formate.ico sizes="48x48" type="image/vnd.microsoft.icon">
{% endblock %}
3 changes: 2 additions & 1 deletion doc-source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,5 @@ def setup(app):
nitpicky = True
del version
del release
html_title = "repo-helper Contributing Guide"
html_title = "formate Contributing Guide"
html_logo = "formate.png"
Binary file added doc-source/formate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc-source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ With bash:

.. code-block:: bash

(repo-helper) $
(formate) $


.. _GitHub: https://github.com/
Expand Down
1 change: 1 addition & 0 deletions formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ reformat-generics = 40
noqa-reformat = 60
ellipsis-reformat = 70
squish_stubs = 80
newline_after_equals = 90

[hooks.yapf]
priority = 30
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "whey"
[project]
name = "contributing"
version = "2021.0.0"
description = "Contributing guide for repo-helper and associated projects"
description = "Contributing guide for projects in the python-formate organization"
readme = "README.rst"
keywords = []
dynamic = [ "requires-python", "classifiers", "dependencies",]
Expand All @@ -18,10 +18,10 @@ name = "Dominic Davis-Foster"
email = "dominic@davis-foster.co.uk"

[project.urls]
Homepage = "https://github.com/repo-helper/contributing"
"Issue Tracker" = "https://github.com/repo-helper/contributing/issues"
"Source Code" = "https://github.com/repo-helper/contributing"
Documentation = "https://contributing.repo-helper.uk"
Homepage = "https://github.com/python-formate/contributing"
"Issue Tracker" = "https://github.com/python-formate/contributing/issues"
"Source Code" = "https://github.com/python-formate/contributing"
Documentation = "https://contributing-to-formate.readthedocs.io"

[tool.whey]
base-classifiers = []
Expand All @@ -33,7 +33,7 @@ license-key = "MIT"
[tool.importcheck]

[tool.sphinx-pyproject]
github_username = "repo-helper"
github_username = "python-formate"
github_repository = "contributing"
author = "Dominic Davis-Foster"
project = "contributing"
Expand Down
11 changes: 7 additions & 4 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ modname: 'contributing'
copyright_years: '2020-2021'
author: 'Dominic Davis-Foster'
email: 'dominic@davis-foster.co.uk'
username: 'repo-helper'
username: 'python-formate'
assignee: 'domdfcoding'
version: '2021.0.0'
license: 'MIT'
short_desc: 'Contributing guide for repo-helper and associated projects'
short_desc: 'Contributing guide for projects in the python-formate organization'

use_whey: True
docs_fail_on_warning: true
sphinx_html_theme: furo
enable_tests: false
enable_conda: false
on_pypi: false
docs_url: https://contributing.repo-helper.uk
docs_url: https://contributing-to-formate.readthedocs.io

python_versions:
- '3.8'
Expand All @@ -25,7 +25,8 @@ sphinx_conf_epilogue:
- nitpicky = True
- del version
- del release
- html_title = "repo-helper Contributing Guide"
- html_title = "formate Contributing Guide"
- html_logo = "formate.png"

extra_sphinx_extensions:
- html_section
Expand All @@ -34,3 +35,5 @@ exclude_files:
- contributing
- Source_rst
- license_rst

preserve_custom_theme: true
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ deps =
git+https://github.com/python-formate/flake8-missing-annotations.git
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
pygments>=2.7.1
importlib_metadata<4.5.0; python_version<'3.8'
commands = python3 -m flake8_rst_docstrings_sphinx contributing --allow-toolbox {posargs}

[testenv:perflint]
Expand Down
Loading