Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
vsc-spdxheader v0.1 documentation
Logo
vsc-spdxheader v0.1 documentation
  • Shebang configuration
  • License configuration
  • Copyright Configuration
  • Copyright Rules
Back to top
View this page

Copyright RulesΒΆ

Copyright rules define when a copyright notice is added.

The schema is defined as:

{ str: [ str, ... ] }

The key specifies language ID or file extension.

The value accepts a list of globs.

A notice applies to the current file only if:

  1. language ID or file extension is defined in spdxheader.copyright_rule

  2. no glob in the corresponding list matches the filename

Previous
Copyright Configuration
Copyright © 2026 Jiamu Sun
Made with Sphinx and @pradyunsg's Furo