GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use one-line module docstrings, which Codacy's D212 and D213 both accept · EngineScript/EngineScript@c710eee

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/scripts
    • check-deployment-surface.py
    • test-automation.py
  • .ruff.toml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/scripts/check-deployment-surface.py‎

Copy file name to clipboardExpand all lines: .github/scripts/check-deployment-surface.py
+6-8Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
#!/usr/bin/env python3
2-
"""
3-
Verify the files under the panel's deployed directories against a tracked allowlist.
4-
5-
The installer copies config/var/www/admin/control-panel/ into the web root with
6-
`cp -a`, and copies two named files from config/var/www/admin/tools/ into the
7-
tools it installs. Every file in those directories is served, so nothing else
8-
may live there: no test, fixture, development file, archive, or executable.
9-
"""
2+
"""Verify the files under the panel's deployed directories against a tracked allowlist."""
3+
4+
# The installer copies config/var/www/admin/control-panel/ into the web root with
5+
# `cp -a`, and copies two named files from config/var/www/admin/tools/ into the
6+
# tools it installs. Every file in those directories is served, so nothing else
7+
# may live there: no test, fixture, development file, archive, or executable.
108

119
from __future__ import annotations
1210

Collapse file

‎.github/scripts/test-automation.py‎

Copy file name to clipboardExpand all lines: .github/scripts/test-automation.py
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/usr/bin/env python3
2-
"""
3-
Standard-library regression fixtures for the repository's automation scripts.
2+
"""Standard-library regression fixtures for the repository's automation scripts."""
43

5-
All mutation is confined to a temporary fixture repository on the runner.
6-
"""
4+
# All mutation is confined to a temporary fixture repository on the runner.
75

86
from __future__ import annotations
97

Collapse file

‎.ruff.toml‎

Copy file name to clipboardExpand all lines: .ruff.toml
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ target-version = "py312"
77
[lint]
88
select = ["ALL"]
99
ignore = [
10-
# Two pairs of docstring rules contradict each other; D211 and D213 are the ones kept.
11-
# D213 (the summary starts on the line after the opening quotes) is the one Codacy checks.
10+
# Two pairs of docstring rules contradict each other; D211 and D212 are the ones kept.
1211
"D203",
13-
"D212",
12+
"D213",
1413
# These two conflict with the formatter.
1514
"COM812",
1615
"ISC001",

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.