Skip to content

Commit 1c9d215

Browse files
[UPGRADE] Stable Version v2.0.0-beta (Security Pre-Release)
* From Security Patches (tag 'v1.5.1'): [SECURITY] Patch for GHSA-2v67-4x3c-889g (BACKPORT) * From PR #148 (master): : Master Branch [SECURITY] Fix for GHSA-2v67-4x3c-889g [PATCH] Fixes for integration testing script (- WIP #55 -) [PATCH] Apply suggestions from code review (- WIP PR #148 -) [PATCH] FIXED readthedocs strangeness (- WIP #79 -) [PATCH] minor fix for the implementation of read-the-docs config [PATCH] cleaned up documentation regarding usage (- WIP #79 -) [PATCH] fixup for better tox testing (- WIP PR #135 -) [DOCUMENTATION] Improved docstring coverage a bunch (- WIP #79 -) [DOCUMENTATION] Fixes for documentation builds and version bump to 2.0.0-beta [DOCUMENTATION] Slight improvement to documentation (- WIP #79 -) [DOCUMENTATION] Resolve documentation conflict with fuzz-testing branch. [DOCUMENTATION] minor correction to docstrings for endSocket. [DOCUMENTATION] Slight improvement of meta-testing via doctests (- WIP #128 & #129 -) [DOCUMENTATION] improved docstrings as discussed in review (- WIP PR #137 -) [DOCUMENTATION] Corrected exitcode description (no code change) (- WIP #79 -) [DOCUMENTATION] Improved documentation as per #79 [DOCUMENTATION] expands the documentation of the module (- WIP #79 -) [STYLE] applied changes from review (- WIP #146 -) [STYLE] Various style fixes (- WIP #141 -) [STYLE] Fixed Whitespace (- WIP #79 -) [COVERAGE] improving coverage slightly (- WIP #55 -) [TESTING] improved testing slightly [TESTING] implementing basic fuzzing (- WIP #13 -) [TESTING] testing simpler new-style imports [REGRESSION] Contributes to #53 [HOTFIX] fix for bad labeler config (- WIP #135 [FIX] Fix typo in tox.ini [UPGRADE] improved error handling by implementing error chaining (- WIP #32 -) [UPGRADE] Version 2.0 Development Cycle (- WIP #120 -)
2 parents ea59b6e + 39dda25 commit 1c9d215

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1560
-1223
lines changed

.circleci/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: cimg/python:3.7
6-
- image: cimg/python:3.8
7-
- image: cimg/python:3.9
85
- image: cimg/python:3.10
96
- image: cimg/python:3.11
107
- image: cimg/python:3.12
@@ -41,9 +38,6 @@ jobs:
4138

4239
test:
4340
docker:
44-
- image: cimg/python:3.7
45-
- image: cimg/python:3.8
46-
- image: cimg/python:3.9
4741
- image: cimg/python:3.10
4842
- image: cimg/python:3.11
4943
- image: cimg/python:3.12

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ exclude_lines =
2121
raise ImportError
2222
raise baton
2323
baton = ImportError
24+
raise ModuleNotFoundError
2425
baton.module
2526
except subprocess.CalledProcessError
2627
except ..Error
@@ -56,5 +57,6 @@ partial_branches =
5657
if 'os' not in sys.modules:
5758
if 'os.path' not in sys.modules:
5859
if 'argparse' not in sys.modules:
60+
RuntimeError("SHUTDOWN")
5961

6062

.flake8.ini

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[flake8]
2-
ignore = W191,W391,E117,D208
2+
# Ignore specific warnings and errors according to CEP-8 style
3+
extend-ignore =
4+
W191, # Indentation contains tabs
5+
W391, # Blank line at end of file
6+
E117, # Over-indented
7+
D208, # Docstring is over-indented
8+
# Ignore long lines as specified in CEP-8
39
max-line-length = 100
4-
exclude =
10+
extend-exclude =
511
# No need to traverse our git directory
612
.git,
713
# There's no value in checking cache directories
@@ -10,6 +16,16 @@ exclude =
1016
docs,
1117
# There's no value in checking tox directories
1218
.tox,
13-
# This contains our built documentation
19+
# This contains our built stuff
1420
build
21+
# Nothing to find in node_modules, ignore them
22+
node_modules,
23+
# This contains our built package for PyPi
24+
dist,
25+
# There's no value in checking git directories
26+
.git,
27+
# There's no value in checking virtual directories
28+
venv,
29+
# There's no value in checking xcode directories
30+
*.xc**
1531
max-complexity = 10

.github/labeler.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,33 @@
22
Multicast:
33
- changed-files:
44
- any-glob-to-any-file:
5-
- setup.py
5+
- 'setup.*'
66
- multicast/*.py
77
- LICENSE
88
- LICENSE.md
9+
- pyproject.toml
910

1011
# Add 'Lint' label to any lint file changes
1112
Linter:
1213
- changed-files:
1314
- any-glob-to-any-file:
14-
- .hound.yml
1515
- .yamllint.conf
1616
- .flake8.ini
1717
- .deepsource.toml
18+
- tests/check_s*
19+
- tests/check_c*
20+
- tests/check_pip
21+
22+
# Add 'bash lang' label to any bash file changes
23+
Bash Lang:
24+
- changed-files:
25+
- any-glob-to-any-file:
26+
- tests/*.bash
1827
- tests/check_*
28+
- .github/*.bash
29+
- .github/*.sh
30+
- .circleci/*.bash
31+
- '*.bash'
1932

2033
# Add 'Lang' label to any python file changes
2134
Python Lang:
@@ -28,13 +41,24 @@ Configs:
2841
- changed-files:
2942
- any-glob-to-any-file:
3043
- '*.yml'
31-
- ./**/*.yml
44+
- './**/*.yml'
45+
- './.**/*.yml'
3246
- '*.ini'
3347
- '*.toml'
3448
- '*.cfg'
49+
- '*.conf'
3550
- requirements.txt
3651
- test-requirements.txt
3752
- tests/requirements.txt
53+
- docs/requirements.txt
54+
55+
documentation:
56+
- changed-files:
57+
- any-glob-to-any-file:
58+
- '*.md'
59+
- './**/*.md'
60+
- docs/**/*
61+
- docs/*
3862

3963
# Add 'test' label
4064
Testing:
@@ -51,8 +75,6 @@ CI:
5175
- any-glob-to-any-file:
5276
- tests/*.py
5377
- tests/requirements.txt
54-
- .stickler.yml
55-
- .hound.yml
5678
- .travis.yml
5779
- .appveyor.yml
5880
- .github/workflows/*
@@ -64,3 +86,9 @@ Github:
6486
- .github/**/*
6587
- .github/*
6688
- README.md
89+
90+
invalid:
91+
- changed-files:
92+
- any-glob-to-any-file:
93+
- .stickler.yml
94+
- .hound.yml

0 commit comments

Comments
 (0)