summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: d5c1f247bff62f331b3cc2be41a62f09617c25df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[metadata]
name = jsonschema
url = https://github.com/Julian/jsonschema
project_urls =
    Docs = https://python-jsonschema.readthedocs.io/en/latest/
description = An implementation of JSON Schema validation for Python
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Julian Berman
author_email = Julian@GrayVines.com
license = MIT
classifiers =
    Development Status :: 5 - Production/Stable
    Intended Audience :: Developers
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy
python_requires = ">=3.7"

[options]
packages = find:
install_requires =
    attrs>=17.4.0
    importlib_metadata;python_version<'3.8'
    pyrsistent>=0.14.0,!=0.17.0,!=0.17.1,!=0.17.2

[options.extras_require]
format =
    fqdn
    idna
    jsonpointer>1.13
    rfc3987
    strict-rfc3339
    webcolors
    uri_template
    isoduration
format_nongpl =
    fqdn
    idna
    jsonpointer>1.13
    webcolors
    rfc3986-validator>0.1.0
    rfc3339-validator
    uri_template
    isoduration

[options.entry_points]
console_scripts =
    jsonschema = jsonschema.cli:main

[options.package_data]
jsonschema = schemas/*.json, schemas/*/*.json

[bdist_wheel]
universal = 1

[flake8]
inline-quotes = "
exclude =
    jsonschema/__init__.py
    jsonschema/_reflect.py
ignore =
    B008,  # Barring function calls in default args. Ha, no.
    B306,  # See https://github.com/PyCQA/flake8-bugbear/issues/131
    W503,  # (flake8 default) old PEP8 boolean operator line breaks

[pydocstyle]
match = (?!(test_|_|compat|cli)).*\.py  # see PyCQA/pydocstyle#323
add-select =
    D410, # Trailing whitespace plz
add-ignore =
    D107,  # Hah, no
    D200,  # 1-line docstrings don't need to be on one line
    D202,  # One line is fine.
    D412,  # Trailing whitespace plz
    D413,  # No trailing whitespace plz