Skip to content

Commit 0b29daa

Browse files
Fix sphinx build and CI tests
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 330ce34 commit 0b29daa

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

docs/source/reference/available_package_parsers.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parsers in scancode-toolkit during documentation builds.
1414

1515

1616
.. list-table:: Supported Package Parsers
17-
:widths: 10 10 20 10 10 2
17+
:widths: 10 10 20 10 10 10 2
1818
:header-rows: 1
1919

2020
* - Description
@@ -140,6 +140,13 @@ parsers in scancode-toolkit during documentation builds.
140140
- ``cargo_toml``
141141
- Rust
142142
- https://doc.rust-lang.org/cargo/reference/manifest.html
143+
* - Rust binary
144+
- None
145+
- ``cargo``
146+
- ``linux``, ``win``, ``mac``
147+
- ``rust_binary``
148+
- Rust
149+
- https://github.com/rust-secure-code/cargo-auditable/blob/master/PARSING.md
143150
* - Chef cookbook metadata.json
144151
- ``*/metadata.json``
145152
- ``chef``
@@ -1008,4 +1015,3 @@ parsers in scancode-toolkit during documentation builds.
10081015
- ``windows_executable``
10091016
- None
10101017
- https://en.wikipedia.org/wiki/Portable_Executable
1011-

src/packagedcode/templates/available_package_parsers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parsers in scancode-toolkit during documentation builds.
1414

1515

1616
.. list-table:: Supported Package Parsers
17-
:widths: 10 10 20 10 10 2
17+
:widths: 10 10 20 10 10 10 2
1818
:header-rows: 1
1919

2020
* - Description

tests/scancode/data/help/help_linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Options:
1616
license/copyright detection and top-level package creation.
1717
-c, --copyright Scan <input> for copyrights.
1818
--go-symbol Collect Go symbols.
19+
--rust-symbol Collect Rust symbols from rust binaries.
1920

2021
other scans:
2122
-i, --info Scan <input> for file information (size, checksums, etc).

tests/scancode/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_no_version_check_run_is_successful():
128128

129129

130130
def test_usage_and_help_return_a_correct_script_name_on_all_platforms():
131-
result = run_scan_click(['--help'])
131+
result = run_scan_click(options=['--help'], test_mode=False, retry=False)
132132
assert 'Usage: scancode [OPTIONS]' in result.output
133133
# this was showing up on Windows
134134
assert 'scancode-script.py' not in result.output

0 commit comments

Comments
 (0)