Skip to content

Commit b1da1fc

Browse files
JonoYangchinyeungliAyanSinhaMahapatrapombredanne
authored
Update skeleton (#604)
* Create script to update repo skeleton #80 Signed-off-by: Jono Yang <[email protected]> * Update link references of ownership from nexB to aboutcode-org Signed-off-by: Chin Yeung Li <[email protected]> * Drop deprecated macos-12 runner * Update CI/Actions runners Signed-off-by: Ayan Sinha Mahapatra <[email protected]> * Replace black and isort with ruff * Use ruff config and Make commands from scancode.io Signed-off-by: Jono Yang <[email protected]> * Use org standard 100 line length Signed-off-by: Philippe Ombredanne <[email protected]> * Lint all common code directories Signed-off-by: Philippe Ombredanne <[email protected]> * Remove unused targets Signed-off-by: Philippe Ombredanne <[email protected]> * Improve import sorting Signed-off-by: Philippe Ombredanne <[email protected]> * Apply small code updates Signed-off-by: Philippe Ombredanne <[email protected]> * Format code Signed-off-by: Philippe Ombredanne <[email protected]> * Apply cosmetic refactorings Signed-off-by: Philippe Ombredanne <[email protected]> * Reformat test code Signed-off-by: Philippe Ombredanne <[email protected]> * Format code Signed-off-by: Philippe Ombredanne <[email protected]> * Refine ruff configuration Signed-off-by: Philippe Ombredanne <[email protected]> * Format doc Signed-off-by: Philippe Ombredanne <[email protected]> * Run doc8 on all rst files Signed-off-by: Philippe Ombredanne <[email protected]> * Enable doc style checks Signed-off-by: Philippe Ombredanne <[email protected]> * Add support for new OS versions Signed-off-by: Philippe Ombredanne <[email protected]> * Update scripts aboutcode references Signed-off-by: Philippe Ombredanne <[email protected]> * Do not format more test data Signed-off-by: Philippe Ombredanne <[email protected]> * Do not treat rst as Python Signed-off-by: Philippe Ombredanne <[email protected]> * Combine testing and docs extra for simplicity Signed-off-by: Philippe Ombredanne <[email protected]> * Refine checking of docs with doc8 Signed-off-by: Philippe Ombredanne <[email protected]> * Refine doc handling * remove CI scripts and use Makefile targets instead * ensure doc8 runs quiet * add new docs-check make target to run documentation and links checks * update oudated doc for docs contribution Signed-off-by: Philippe Ombredanne <[email protected]> * Add twine check to release publication Signed-off-by: Philippe Ombredanne <[email protected]> * Refine doc contribution docs Signed-off-by: Philippe Ombredanne <[email protected]> * Replace black and isort with ruff * Use ruff config and Make commands from scancode.io Signed-off-by: Jono Yang <[email protected]> * Use org standard 100 line length Signed-off-by: Philippe Ombredanne <[email protected]> * Lint all common code directories Signed-off-by: Philippe Ombredanne <[email protected]> * Remove unused targets Signed-off-by: Philippe Ombredanne <[email protected]> * Improve import sorting Signed-off-by: Philippe Ombredanne <[email protected]> * Apply small code updates Signed-off-by: Philippe Ombredanne <[email protected]> * Format code Signed-off-by: Philippe Ombredanne <[email protected]> * Apply cosmetic refactorings Signed-off-by: Philippe Ombredanne <[email protected]> * Reformat test code Signed-off-by: Philippe Ombredanne <[email protected]> * Format code Signed-off-by: Philippe Ombredanne <[email protected]> * Refine ruff configuration Signed-off-by: Philippe Ombredanne <[email protected]> * Format doc Signed-off-by: Philippe Ombredanne <[email protected]> * Run doc8 on all rst files Signed-off-by: Philippe Ombredanne <[email protected]> * Enable doc style checks Signed-off-by: Philippe Ombredanne <[email protected]> * Do not format more test data Signed-off-by: Philippe Ombredanne <[email protected]> * Do not treat rst as Python Signed-off-by: Philippe Ombredanne <[email protected]> * Combine testing and docs extra for simplicity Signed-off-by: Philippe Ombredanne <[email protected]> * Refine checking of docs with doc8 Signed-off-by: Philippe Ombredanne <[email protected]> * Refine doc handling * remove CI scripts and use Makefile targets instead * ensure doc8 runs quiet * add new docs-check make target to run documentation and links checks * update oudated doc for docs contribution Signed-off-by: Philippe Ombredanne <[email protected]> * Add twine check to release publication Signed-off-by: Philippe Ombredanne <[email protected]> * Refine doc contribution docs Signed-off-by: Philippe Ombredanne <[email protected]> * Update codestyle command * Remove trailing whitespace Signed-off-by: Jono Yang <[email protected]> * Update README.rst Signed-off-by: Jono Yang <[email protected]> * Update BUILDDIR envvar in docs/Makefile Signed-off-by: Jono Yang <[email protected]> * Fix doc line length Signed-off-by: Philippe Ombredanne <[email protected]> * Format code Signed-off-by: Philippe Ombredanne <[email protected]> * Correct supported runner on Azure See for details: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml macOS ARM images do not seem to be supported there Signed-off-by: Philippe Ombredanne <[email protected]> * Add code checks to CI Remove running "make check" as a test Signed-off-by: Philippe Ombredanne <[email protected]> * Revert support for Python 3.13 This is not yet supported everywhere Signed-off-by: Philippe Ombredanne <[email protected]> * Ignore local .env file Signed-off-by: Philippe Ombredanne <[email protected]> * Add correct extras for documentation Signed-off-by: Philippe Ombredanne <[email protected]> * Improve MANIFEST Signed-off-by: Philippe Ombredanne <[email protected]> * Improve cleaning on POSIX Signed-off-by: Philippe Ombredanne <[email protected]> * Rename dev extra to "dev" Instead of testing ... and update references accordingly Signed-off-by: Philippe Ombredanne <[email protected]> * Add more excludes from tests Signed-off-by: Philippe Ombredanne <[email protected]> * Do not lint django migrations Signed-off-by: Philippe Ombredanne <[email protected]> * Add README.rst to list of "license files" Signed-off-by: Philippe Ombredanne <[email protected]> * Use Python 3.9 as lowest suupported version Signed-off-by: Philippe Ombredanne <[email protected]> * Drop pycodestyle Not used anymore Signed-off-by: Philippe Ombredanne <[email protected]> * Bump pytest minimal version Signed-off-by: Philippe Ombredanne <[email protected]> * Fix ci documentation check command Signed-off-by: Jono Yang <[email protected]> * Fix code style Signed-off-by: Jono Yang <[email protected]> * Update sphynx conf.py Signed-off-by: Jono Yang <[email protected]> * Reformat code Signed-off-by: Jono Yang <[email protected]> * Update conf.py Signed-off-by: Jono Yang <[email protected]> --------- Signed-off-by: Jono Yang <[email protected]> Signed-off-by: Chin Yeung Li <[email protected]> Signed-off-by: Ayan Sinha Mahapatra <[email protected]> Signed-off-by: Philippe Ombredanne <[email protected]> Co-authored-by: Chin Yeung Li <[email protected]> Co-authored-by: Ayan Sinha Mahapatra <[email protected]> Co-authored-by: Philippe Ombredanne <[email protected]>
1 parent 57d5409 commit b1da1fc

File tree

181 files changed

+1554
-3091
lines changed

Some content is hidden

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

181 files changed

+1554
-3091
lines changed

.github/workflows/pypi-release.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.9
31+
python-version: 3.12
3232

33-
- name: Install pypa/build
34-
run: python -m pip install build --user
33+
- name: Install pypa/build and twine
34+
run: python -m pip install --user build twine
3535

3636
- name: Build a binary wheel and a source tarball
3737
run: python -m build --sdist --wheel --outdir dist/
3838

39+
- name: Validate wheel and sdis for Pypi
40+
run: python -m twine check dist/*
41+
3942
- name: Upload built archives
40-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4144
with:
4245
name: pypi_archives
4346
path: dist/*
@@ -47,17 +50,17 @@ jobs:
4750
name: Create GH release
4851
needs:
4952
- build-pypi-distribs
50-
runs-on: ubuntu-22.04
53+
runs-on: ubuntu-24.04
5154

5255
steps:
5356
- name: Download built archives
54-
uses: actions/download-artifact@v3
57+
uses: actions/download-artifact@v4
5558
with:
5659
name: pypi_archives
5760
path: dist
5861

5962
- name: Create GH release
60-
uses: softprops/action-gh-release@v1
63+
uses: softprops/action-gh-release@v2
6164
with:
6265
draft: true
6366
files: dist/*
@@ -67,11 +70,11 @@ jobs:
6770
name: Create PyPI release
6871
needs:
6972
- create-gh-release
70-
runs-on: ubuntu-22.04
73+
runs-on: ubuntu-24.04
7174

7275
steps:
7376
- name: Download built archives
74-
uses: actions/download-artifact@v3
77+
uses: actions/download-artifact@v4
7578
with:
7679
name: pypi_archives
7780
path: dist

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ tcl
7272
# Ignore Jupyter Notebook related temp files
7373
.ipynb_checkpoints/
7474

75-
# Env Files
75+
/.ruff_cache/
7676
.env
77-
7877
var/

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ python:
2626
- method: pip
2727
path: .
2828
extra_requirements:
29-
- docs
29+
- dev

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ v5.0.0
4141

4242
- Add `/api/docs` Swagger API documentation for API endpoints.
4343
- Add `/api/from_purl/purl2git` endpoint to get a git repo for a purl.
44-
- Add `/api/to_purl/go` endpoint to get a purl from a golang import string or a package string in go.mod.
44+
- Add `/api/to_purl/go` endpoint to get a purl from a golang import string or a
45+
package string in go.mod.
4546
- Support indexing of PURLs listed in https://github.com/aboutcode-org/purldb/issues/326,
4647
https://github.com/aboutcode-org/purldb/issues/327, https://github.com/aboutcode-org/purldb/issues/328,
4748
https://github.com/aboutcode-org/purldb/issues/329 and https://github.com/aboutcode-org/purldb/issues/356.

MANIFEST.in

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,27 @@ graft matchcode
44
graft minecode
55
graft packagedb
66
graft purldb
7+
graft docs
8+
graft etc
79

810
include *.LICENSE
911
include NOTICE
1012
include *.ABOUT
1113
include *.toml
1214
include *.yml
1315
include *.rst
16+
include *.png
1417
include setup.*
1518
include configure*
1619
include requirements*
17-
include .git*
20+
include .dockerignore
21+
include .gitignore
22+
include .readthedocs.yml
23+
include manage.py
24+
include Dockerfile*
25+
include Makefile
26+
include MANIFEST.in
1827

19-
global-exclude *.py[co] __pycache__ *.*~
28+
include .VERSION
2029

30+
global-exclude *.py[co] __pycache__ *.*~

Makefile

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ conf:
4848
dev:
4949
@echo "-> Configure and install development dependencies"
5050
@PYTHON_EXECUTABLE=${PYTHON_EXE} ./configure --dev
51-
@echo "-> Configure and install documentation dependencies"
52-
@PYTHON_EXECUTABLE=${PYTHON_EXE} ./configure --docs
5351

5452
envfile:
5553
@echo "-> Create the .env file and generate a secret key"
@@ -63,17 +61,24 @@ envfile_testing: envfile
6361
@echo SCANCODEIO_DB_USER=\"postgres\" >> ${ENV_FILE}
6462
@echo SCANCODEIO_DB_PASSWORD=\"postgres\" >> ${ENV_FILE}
6563

64+
doc8:
65+
@echo "-> Run doc8 validation"
66+
@${ACTIVATE} doc8 --quiet docs/ *.rst
67+
6668
valid:
6769
@echo "-> Run Ruff format"
68-
@${ACTIVATE} ruff format --exclude etc/scripts/ --exclude purldb-toolkit/ --exclude purl2vcs/
70+
@${ACTIVATE} ruff format
6971
@echo "-> Run Ruff linter"
70-
@${ACTIVATE} ruff check --fix --exclude etc/scripts/ --exclude purldb-toolkit/ --exclude purl2vcs/
72+
@${ACTIVATE} ruff check --fix
7173

72-
check: check_docs
74+
check:
7375
@echo "-> Run Ruff linter validation (pycodestyle, bandit, isort, and more)"
74-
@${ACTIVATE} ruff check --exclude etc/scripts/ --exclude purldb-toolkit/ --exclude purl2vcs/
76+
@${ACTIVATE} ruff check
7577
@echo "-> Run Ruff format validation"
76-
@${ACTIVATE} ruff format --check --exclude etc/scripts/ --exclude purldb-toolkit/ --exclude purl2vcs/
78+
@${ACTIVATE} ruff format --check
79+
@$(MAKE) doc8
80+
@echo "-> Run ABOUT files validation"
81+
@${ACTIVATE} about check etc/
7782

7883
clean:
7984
@echo "-> Clean the Python env"
@@ -106,7 +111,7 @@ postgres_matchcodeio:
106111
@echo "-> Create 'matchcodeio' database"
107112
${SUDO_POSTGRES} createdb --encoding=utf-8 --owner=matchcodeio matchcodeio
108113
${MATCHCODE_MANAGE} migrate
109-
114+
110115
run:
111116
${MANAGE} runserver 8001 --insecure
112117

@@ -123,7 +128,7 @@ run_map:
123128
${MANAGE} run_map
124129

125130
test_purldb:
126-
${ACTIVATE} ${DJSM_PDB} pytest -vvs --lf minecode packagedb purl2vcs purldb_project purldb_public_project --ignore packagedb/tests/test_throttling.py
131+
${ACTIVATE} ${DJSM_PDB} pytest -vvs --lf minecode packagedb purl2vcs purldb_project purldb_public_project --ignore packagedb/tests/test_throttling.py
127132
${ACTIVATE} ${DJSM_PDB} pytest -vvs --lf packagedb/tests/test_throttling.py
128133

129134
test_toolkit:
@@ -160,11 +165,9 @@ docs:
160165
rm -rf docs/_build/
161166
@${ACTIVATE} sphinx-build docs/source docs/_build/
162167

163-
check_docs:
164-
@echo "Check Sphinx Documentation build minimally"
165-
@${ACTIVATE} sphinx-build -E -W docs/source build
166-
@echo "Check for documentation style errors"
167-
@${ACTIVATE} doc8 --max-line-length 100 docs/source --ignore-path docs/_build/ --ignore D000 --quiet
168+
docs-check:
169+
@${ACTIVATE} sphinx-build -E -W -b html docs/source docs/_build/
170+
@${ACTIVATE} sphinx-build -E -W -b linkcheck docs/source docs/_build/
168171

169172
docker-images:
170173
@echo "-> Build Docker services"
@@ -176,4 +179,4 @@ docker-images:
176179
@docker save minecode minecode_minecode nginx | gzip > dist/minecode-images-`git describe --tags`.tar.gz
177180

178181
# keep this sorted
179-
.PHONY: black bump check check_docs clean `clearindex clearsync conf dev docker-images docs envfile envfile_testing index_packages isort migrate postgres postgres_matchcodeio priority_queue run run_map run_matchcodeio run_visit seed shell test test_clearcode test_matchcode test_purldb test_toolkit valid virtualenv
182+
.PHONY: bump check docs-check clean clearindex clearsync conf dev docker-images docs envfile envfile_testing index_packages migrate postgres postgres_matchcodeio priority_queue run run_map run_matchcodeio run_visit seed shell test test_clearcode test_matchcode test_purldb test_toolkit valid virtualenv

README.rst

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ This project is funded, supported and sponsored by:
3333

3434
- Generous support and contributions from users like you!
3535
- the European Commission NGI programme
36-
- the NLnet Foundation
36+
- the NLnet Foundation
3737
- the Swiss State Secretariat for Education, Research and Innovation (SERI)
3838
- Google, including the Google Summer of Code and the Google Seasons of Doc programmes
3939
- Mercedes-Benz Group
4040
- Microsoft and Microsoft Azure
4141
- AboutCode ASBL
42-
- nexB Inc.
42+
- nexB Inc.
4343

4444

4545

46-
|europa| |dgconnect|
46+
|europa| |dgconnect|
4747

48-
|ngi| |nlnet|
48+
|ngi| |nlnet|
4949

5050
|aboutcode| |nexb|
5151

@@ -69,14 +69,14 @@ This project was funded through the NGI0 Commons Fund, a fund established by NLn
6969
support from the European Commission's Next Generation Internet programme, under the aegis of DG
7070
Communications Networks, Content and Technology under grant agreement No 101135429. Additional
7171
funding is made available by the Swiss State Secretariat for Education, Research and Innovation
72-
(SERI).
72+
(SERI).
7373

7474
|ngizerocommons| |swiss| https://nlnet.nl/project/FederatedCodeNext/
7575

7676

7777
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial
7878
support from the European Commission's Next Generation Internet programme, under the aegis of DG
79-
Communications Networks, Content and Technology under grant agreement No 101069594.
79+
Communications Networks, Content and Technology under grant agreement No 101069594.
8080

8181
|ngizeroentrust| https://nlnet.nl/project/Back2source/
8282

@@ -90,7 +90,7 @@ Communications Networks, Content and Technology under grant agreement No 1010929
9090

9191
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial
9292
support from the European Commission's Next Generation Internet programme, under the aegis of DG
93-
Communications Networks, Content and Technology under grant agreement No 101092990.
93+
Communications Networks, Content and Technology under grant agreement No 101092990.
9494

9595
|ngizerocore| https://nlnet.nl/project/FastScan/
9696

@@ -120,14 +120,14 @@ Communications Networks, Content and Technology under grant agreement No 1010695
120120

121121
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial
122122
support from the European Commission's Next Generation Internet programme, under the aegis of DG
123-
Communications Networks, Content and Technology under grant agreement No 101069594.
123+
Communications Networks, Content and Technology under grant agreement No 101069594.
124124

125125
|ngizeroentrust| https://nlnet.nl/project/purl2all/
126126

127127

128128
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial
129129
support from the European Commission's Next Generation Internet programme, under the aegis of DG
130-
Communications Networks, Content and Technology under grant agreement No 101069594.
130+
Communications Networks, Content and Technology under grant agreement No 101069594.
131131

132132
|ngizeroentrust| https://nlnet.nl/project/purl2sym/
133133

@@ -196,9 +196,3 @@ Communications Networks, Content and Technology under grant agreement No 1010695
196196
:target: https://nlnet.nl/discovery/
197197
:height: 40
198198
:alt: NGI Discovery logo
199-
200-
201-
202-
203-
204-

azure-pipelines.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,34 @@ resources:
1616
- 5432:5432
1717

1818
jobs:
19+
- template: etc/ci/azure-posix.yml
20+
parameters:
21+
job_name: ci_code_style
22+
image_name: ubuntu-24.04
23+
python_versions: ['3.12']
24+
test_suites:
25+
all: make check
1926

2027
- template: etc/ci/azure-posix.yml
2128
parameters:
2229
job_name: ubuntu20_cpython
23-
image_name: ubuntu-20.04
30+
image_name: ubuntu-22.04
2431
python_versions: ['3.10', '3.11', '3.12']
2532
test_suites:
2633
all: make test
2734

2835
- template: etc/ci/azure-posix.yml
2936
parameters:
3037
job_name: ubuntu22_cpython
31-
image_name: ubuntu-22.04
38+
image_name: ubuntu-24.04
3239
python_versions: ['3.10', '3.11', '3.12']
3340
test_suites:
3441
all: make test
3542

3643
- template: etc/ci/azure-posix.yml
3744
parameters:
3845
job_name: ci_documentation
39-
image_name: ubuntu-22.04
40-
python_versions: ['3.10']
46+
image_name: ubuntu-24.04
47+
python_versions: ['3.12']
4148
test_suites:
42-
all: make docs check_docs
43-
44-
- template: etc/ci/azure-posix.yml
45-
parameters:
46-
job_name: ci_code_style
47-
image_name: ubuntu-22.04
48-
python_versions: ['3.10']
49-
test_suites:
50-
all: make check
49+
all: make docs-check

clearcode/cdutils.py

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ def from_path(cls, pth, root=None):
185185
return cls(*segments)
186186

187187
def to_api_path(self):
188-
return "{type}/{provider}/{namespace}/{name}/{revision}".format(
189-
**self.to_dict()
190-
)
188+
return "{type}/{provider}/{namespace}/{name}/{revision}".format(**self.to_dict())
191189

192190
def to_def_blob_path(self):
193191
return "{type}/{provider}/{namespace}/{name}/revision/{revision}.json".format(
@@ -289,9 +287,7 @@ def from_purl(cls, purl):
289287

290288
package_type = p.type
291289
if package_type not in PACKAGE_TYPES_BY_PURL_TYPE:
292-
raise Exception(
293-
f"Package type is not supported by ClearlyDefined: {package_type}"
294-
)
290+
raise Exception(f"Package type is not supported by ClearlyDefined: {package_type}")
295291
# Handle the source types of Maven and Debian packages
296292
if package_type == "maven" and p.qualifiers.get("classifier", "") == "sources":
297293
package_type = "sourcearchive"
@@ -330,9 +326,7 @@ def get_coordinates(data_dir):
330326
yield pth, Coordinate.from_path(cdpth)
331327

332328

333-
def _get_response_content(
334-
url, retries=2, wait=2, session=requests, verbose=False, _retries=set()
335-
):
329+
def _get_response_content(url, retries=2, wait=2, session=requests, verbose=False, _retries=set()):
336330
"""
337331
Return a tuple of (etag, md5, content bytes) with the content as bytes or as decoded
338332
text if `as_text` is True) of the response of a GET HTTP request at `url`.
@@ -379,9 +373,7 @@ def _get_response_content(
379373

380374
# all other errors
381375
raise Exception(
382-
"Failed HTTP request for {url} : error: {status_code} : {error_code}".format(
383-
**locals()
384-
)
376+
"Failed HTTP request for {url} : error: {status_code} : {error_code}".format(**locals())
385377
)
386378

387379

@@ -427,12 +419,9 @@ def join_qs(keys_values, do_not_quote=()):
427419
Join a key/values mapping back into a query string.
428420
Quote values unless the name is in in the `do_not_quote` set.
429421
"""
430-
keys_values = {
431-
k: (v[0] if v and isinstance(v, list) else v) for k, v in keys_values.items()
432-
}
422+
keys_values = {k: (v[0] if v and isinstance(v, list) else v) for k, v in keys_values.items()}
433423
return "&".join(
434-
"=".join([k, v if k in do_not_quote else quote_plus(v)])
435-
for k, v in keys_values.items()
424+
"=".join([k, v if k in do_not_quote else quote_plus(v)]) for k, v in keys_values.items()
436425
)
437426

438427

clearcode/management/commands/clearsync.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ def add_arguments(self, parser):
5858
dest="processes",
5959
default=1,
6060
type=int,
61-
help="Set the number of parallel processes to use. "
62-
"Disable parallel processing if 0.",
61+
help="Set the number of parallel processes to use. Disable parallel processing if 0.",
6362
)
6463
parser.add_argument(
6564
"--max-def",

0 commit comments

Comments
 (0)