Skip to content

Commit b6c5a68

Browse files
committed
Updated config files.
1 parent 0d9dfcc commit b6c5a68

File tree

4 files changed

+28
-15
lines changed

4 files changed

+28
-15
lines changed

.ci/travis_deploy_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e -x
55

66
if [ "$TRAVIS_PYTHON_VERSION" == 3.6 ]; then
7-
if [ -z "$TRAVIS_TAG" ] && [ "$TRAVIS_COMMIT_MESSAGE" == "Bump Version*" ]; then
7+
if [ -z "$TRAVIS_TAG" ] && [ "$TRAVIS_COMMIT_MESSAGE" == "Bump version*" ]; then
88
echo "Deferring building conda package because this is release"
99
else
1010

setup.cfg

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1+
# This file is managed by 'repo_helper'.
2+
# You may add new sections, but any changes made to the following sections will be lost:
3+
# * metadata
4+
# * options
5+
# * options.packages.find
6+
# * mypy
7+
18
[metadata]
29
name = flake8_sphinx_links
3-
description = A flake8 plugin which checks docstrings for double backticked strings that should be links to the Python documentation.
410
author = Dominic Davis-Foster
511
author_email = dominic@davis-foster.co.uk
612
license = MIT License
713
keywords =
8-
914
long_description = file: README.rst
1015
long_description_content_type = text/x-rst
11-
platforms =
12-
Windows
13-
macOS
14-
Linux
15-
url = https://github.com/domdfcoding/flake8_sphinx_links
16+
platforms = Windows, macOS, Linux
17+
url = https://github.com/domdfcoding/flake8-sphinx-links
1618
project_urls =
17-
Documentation = https://flake8_sphinx_links.readthedocs.io
18-
Issue_Tracker = https://github.com/domdfcoding/flake8_sphinx_links/issues
19-
Source_Code = https://github.com/domdfcoding/flake8_sphinx_links
19+
Documentation = https://flake8-sphinx-links.readthedocs.io
20+
Issue_Tracker = https://github.com/domdfcoding/flake8-sphinx-links/issues
21+
Source_Code = https://github.com/domdfcoding/flake8-sphinx-links
2022
classifiers =
2123
Development Status :: 4 - Beta
2224
Intended Audience :: Developers
@@ -34,21 +36,23 @@ classifiers =
3436
Topic :: Utilities
3537
Typing :: Typed
3638

37-
38-
3939
[options]
4040
python_requires = >=3.6
4141
zip_safe = False
4242
include_package_data = True
4343
packages = find:
4444

45-
4645
[options.packages.find]
4746
exclude =
4847
tests
4948
tests.*
5049
doc-source
5150

51+
[mypy]
52+
python_version = 3.6
53+
namespace_packages = True
54+
check_untyped_defs = True
55+
5256
[options.entry_points]
5357
flake8.extension =
5458
SXL=flake8_sphinx_links:Plugin

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage>=5.1
2-
coverage_pyver_pragma>=0.0.6
2+
coverage-pyver-pragma>=0.0.6
33
iniconfig!=1.1.0,>=1.0.1
44
pytest>=6.0.0
55
pytest-cov>=2.8.1

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ deps =
9393
flake8-builtins
9494
pygments
9595
git+https://github.com/domdfcoding/flake8-quotes.git
96+
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
9697
commands = flake8 flake8_sphinx_links tests
9798

9899
[testenv:yapf]
@@ -156,6 +157,11 @@ rst-roles =
156157
issue
157158
asset
158159
confval
160+
data
161+
py:data
162+
py:exc
163+
deco
164+
regex
159165
rst-directives =
160166
envvar
161167
exception
@@ -176,6 +182,9 @@ rst-directives =
176182
rst:directive:option
177183
rst:role
178184
pre-commit-shield
185+
py:data
186+
py:method
187+
py:classmethod
179188
per-file-ignores = tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
180189
pytest-parametrize-names-type = csv
181190
inline-quotes = "

0 commit comments

Comments
 (0)