Skip to content

Commit

Permalink
Update default_license_files_globs
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
cdce8p and AA-Turner committed Nov 22, 2024
1 parent 2704faf commit 7fbf608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/pyproject_toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ license
A table with either a ``file`` key (a relative path to a license file) or a
``text`` key (the license text).
license-files
A list of glob patterns for license files to include. Defaults to ``['COPYING*', 'LICENSE*']``.
A list of glob patterns for license files to include.
Defaults to ``['COPYING*', 'LICEN[CS]E*']``.
authors
A list of tables with ``name`` and ``email`` keys (both optional) describing
the authors of the project.
Expand Down
2 changes: 1 addition & 1 deletion flit_core/flit_core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ConfigError(ValueError):
'dynamic',
}

default_license_files_globs = ['COPYING*', 'LICENSE*']
default_license_files_globs = ['COPYING*', 'LICEN[CS]E*']


def read_flit_config(path):
Expand Down

0 comments on commit 7fbf608

Please sign in to comment.