Skip to content

Commit d63da84

Browse files
committed
Updated files with repo_helper.
1 parent 7b72256 commit d63da84

6 files changed

Lines changed: 35 additions & 4 deletions

File tree

.ci/copy_pypi_2_github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
# stdlib
23
import json
34
import os

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ limitPerRun: 30
5858

5959
# issues:
6060
# exemptLabels:
61-
# - confirmed
61+
# - confirmed

.pre-commit-config.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v2.4.0
6+
hooks:
7+
- id: check-added-large-files
8+
- id: check-byte-order-marker
9+
- id: check-case-conflict
10+
- id: check-docstring-first
11+
- id: check-executables-have-shebangs
12+
- id: check-json
13+
- id: check-symlinks
14+
- id: check-vcs-permalinks
15+
- id: check-yaml
16+
- id: detect-private-key
17+
- id: end-of-file-fixer
18+
- id: requirements-txt-fixer
19+
# - id: trailing-whitespace
20+
21+
- repo: https://github.com/pre-commit/pygrep-hooks
22+
rev: v1.5.1
23+
hooks:
24+
- id: python-no-eval
25+
- id: python-use-type-annotations
26+
27+
- repo: https://github.com/asottile/pyupgrade
28+
rev: v1.5.1
29+
hooks:
30+
- id: pyupgrade

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,4 +404,4 @@ analyse-fallback-blocks=no
404404

405405
# Exceptions that will emit a warning when being caught. Defaults to
406406
# "Exception"
407-
overgeneral-exceptions=Exception
407+
overgeneral-exceptions=Exception

doc-source/Building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ Different formats are available for built distributions
5656

5757
.. literalinclude:: ../__pkginfo__.py
5858
:language: python
59-
:linenos:
59+
:linenos:

doc-source/Source.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ If you have ``git`` installed, you can clone the repository with the following c
2424
.. figure:: git_download.png
2525
:alt: Downloading a 'zip' file of the source code.
2626
27-
Downloading a 'zip' file of the source code
27+
Downloading a 'zip' file of the source code

0 commit comments

Comments
 (0)