File: setup.cfg

package info (click to toggle)
python-hacking 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 376 kB
  • sloc: python: 1,356; sh: 38; makefile: 23
file content (68 lines) | stat: -rw-r--r-- 2,979 bytes parent folder | download
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
[metadata]
name = hacking
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
summary = OpenStack Hacking Guideline Enforcement
description_file =
    README.rst
home_page = https://docs.openstack.org/hacking/latest/
python_requires = >=3.8
project_urls =
  Bug Tracker = https://bugs.launchpad.net/hacking
  Reviews = https://review.opendev.org/q/p:openstack/hacking+status:open
  CI = https://zuul.opendev.org/t/openstack/builds?project=openstack%%2Fhacking
  Source Code = https://opendev.org/openstack/hacking
classifier =
    Development Status :: 4 - Beta
    Environment :: Console
    Environment :: OpenStack
    Intended Audience :: Developers
    Intended Audience :: Information Technology
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: 3.10
    Programming Language :: Python :: 3.11
    Programming Language :: Python :: 3.12

[files]
packages =
    hacking

[entry_points]
flake8.extension =
    H101 = hacking.checks.comments:hacking_todo_format
    H102 = hacking.checks.comments:hacking_has_license
    H103 = hacking.checks.comments:hacking_has_correct_license
    H104 = hacking.checks.comments:hacking_has_only_comments
    H105 = hacking.checks.comments:hacking_no_author_tags
    H106 = hacking.checks.vim_check:no_vim_headers
    H201 = hacking.checks.except_checks:hacking_except_format
    H202 = hacking.checks.except_checks:hacking_except_format_assert
    H203 = hacking.checks.except_checks:hacking_assert_is_none
    H204 = hacking.checks.except_checks:hacking_assert_equal
    H205 = hacking.checks.except_checks:hacking_assert_greater_less
    H210 = hacking.checks.mock_checks:MockAutospecCheck
    H211 = hacking.checks.except_checks:hacking_assert_true_instance
    H212 = hacking.checks.except_checks:hacking_assert_equal_type
    H213 = hacking.checks.except_checks:hacking_assert_raises_regexp
    H214 = hacking.checks.except_checks:hacking_assert_true_or_false_with_in
    H215 = hacking.checks.except_checks:hacking_assert_equal_in
    H216 = hacking.checks.mock_checks:hacking_no_third_party_mock
    H301 = hacking.checks.imports:hacking_import_rules
    H306 = hacking.checks.imports:hacking_import_alphabetical
    H401 = hacking.checks.docstrings:hacking_docstring_start_space
    H403 = hacking.checks.docstrings:hacking_docstring_multiline_end
    H404 = hacking.checks.docstrings:hacking_docstring_multiline_start
    H405 = hacking.checks.docstrings:hacking_docstring_summary
    H501 = hacking.checks.dictlist:hacking_no_locals
    H700 = hacking.checks.localization:hacking_localization_strings
    H903 = hacking.checks.other:hacking_no_cr
    H904 = hacking.checks.other:hacking_delayed_string_interpolation

[extras]
pep257 =
  flake8-docstrings==1.7.0 # MIT