Skip to content

Commit 819dbf4

Browse files
authored
libs: Add envoy.code.check[changelog] (#268)
Signed-off-by: Ryan Northey <ryan@synca.io>
1 parent cb86b62 commit 819dbf4

File tree

15 files changed

+1760
-11
lines changed

15 files changed

+1760
-11
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ pypi: https://pypi.org/project/envoy.code.check
145145

146146
- [abstracts](https://pypi.org/project/abstracts) >=0.0.12
147147
- [aio.core](https://pypi.org/project/aio.core) >=0.8.2
148-
- [aio.run.checker](https://pypi.org/project/aio.run.checker) >=0.5.2
149-
- [envoy.base.utils](https://pypi.org/project/envoy.base.utils) >=0.1.0
148+
- [aio.run.checker](https://pypi.org/project/aio.run.checker) >=0.5.3
149+
- [envoy.base.utils](https://pypi.org/project/envoy.base.utils) >=0.2.5
150150
- [flake8](https://pypi.org/project/flake8)
151+
- [packaging](https://pypi.org/project/packaging)
151152
- [pep8-naming](https://pypi.org/project/pep8-naming)
152153
- [yapf](https://pypi.org/project/yapf)
153154

deps/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ aiohttp
1010
colorama
1111
coloredlogs
1212
docutils~=0.16.0
13-
envoy.base.utils>=0.1.1
13+
envoy.base.utils>=0.2.5
1414
envoy.distribution.distrotest>=0.0.7
1515
envoy.distribution.release>=0.0.7
1616
envoy.distribution.repo>=0.0.5

envoy.code.check/envoy/code/check/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@ pytooling_library(
77
"//deps:aio.run.checker",
88
"//deps:envoy.base.utils",
99
"//deps:flake8",
10+
"//deps:packaging",
1011
"//deps:yapf",
1112
],
1213
sources=[
1314
"__init__.py",
1415
"abstract/__init__.py",
1516
"abstract/base.py",
17+
"abstract/changelog.py",
1618
"abstract/checker.py",
1719
"abstract/extensions.py",
1820
"abstract/flake8.py",
1921
"abstract/glint.py",
22+
"abstract/rst.py",
2023
"abstract/shellcheck.py",
2124
"abstract/yapf.py",
2225
"checker.py",
2326
"cmd.py",
2427
"exceptions.py",
28+
"interface.py",
2529
"typing.py",
2630
],
2731
)

envoy.code.check/envoy/code/check/__init__.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,60 @@
11

22
from . import abstract, exceptions, typing
33
from .abstract import (
4+
ABackticksCheck,
5+
AChangelogChangesChecker,
6+
AChangelogCheck,
7+
AChangelogStatus,
48
ACodeCheck,
59
ACodeChecker,
610
AExtensionsCheck,
711
AFlake8Check,
812
AFileCodeCheck,
913
AGlintCheck,
14+
APunctuationCheck,
15+
AReflinksCheck,
1016
AShellcheckCheck,
1117
AYapfCheck)
1218
from .checker import (
19+
ChangelogChangesChecker,
20+
ChangelogCheck,
21+
ChangelogStatus,
1322
CodeChecker,
1423
ExtensionsCheck,
1524
Flake8Check,
1625
GlintCheck,
1726
ShellcheckCheck,
1827
YapfCheck)
1928
from .cmd import run, main
20-
from . import checker
29+
from . import checker, interface
2130

2231

2332
__all__ = (
2433
"abstract",
34+
"ABackticksCheck",
35+
"AChangelogChangesChecker",
36+
"AChangelogCheck",
37+
"AChangelogStatus",
2538
"ACodeCheck",
2639
"ACodeChecker",
2740
"AExtensionsCheck",
2841
"AFileCodeCheck",
2942
"AFlake8Check",
3043
"AGlintCheck",
44+
"APunctuationCheck",
45+
"AReflinksCheck",
3146
"AShellcheckCheck",
3247
"AYapfCheck",
48+
"ChangelogChangesChecker",
49+
"ChangelogCheck",
50+
"ChangelogStatus",
3351
"checker",
3452
"CodeChecker",
3553
"exceptions",
3654
"ExtensionsCheck",
3755
"Flake8Check",
3856
"GlintCheck",
57+
"interface",
3958
"main",
4059
"run",
4160
"main",

envoy.code.check/envoy/code/check/abstract/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11

22
from .base import ACodeCheck, AFileCodeCheck
3+
from .changelog import (
4+
AChangelogCheck,
5+
AChangelogChangesChecker,
6+
AChangelogStatus)
37
from .checker import ACodeChecker
48
from .extensions import AExtensionsCheck
59
from .flake8 import AFlake8Check
610
from .glint import AGlintCheck
11+
from .rst import (
12+
ABackticksCheck,
13+
APunctuationCheck,
14+
AReflinksCheck)
715
from .shellcheck import AShellcheckCheck
816
from .yapf import AYapfCheck
917
from . import (
@@ -13,16 +21,23 @@
1321
flake8,
1422
glint,
1523
shellcheck,
24+
changelog,
1625
yapf)
1726

1827

1928
__all__ = (
29+
"ABackticksCheck",
30+
"AChangelogChangesChecker",
31+
"AChangelogCheck",
32+
"AChangelogStatus",
2033
"ACodeCheck",
2134
"ACodeChecker",
2235
"AExtensionsCheck",
2336
"AFileCodeCheck",
2437
"AFlake8Check",
2538
"AGlintCheck",
39+
"APunctuationCheck",
40+
"AReflinksCheck",
2641
"AShellcheckCheck",
2742
"AYapfCheck",
2843
"base",
@@ -31,4 +46,5 @@
3146
"glint",
3247
"extensions",
3348
"shellcheck",
49+
"changelog",
3450
"yapf")

0 commit comments

Comments
 (0)