Package: reuse
Version: 3.0.1-1
Severity: important
X-Debbugs-Cc: wes...@schwengle.net

Dear Maintainer,

I'm unable to use `reuse annotate' on a `.taprc' file (from node-tap).

$ cat .taprc
---

color: false
#coverage: false
disable-coverage: true
allow-incomplete-coverage: true
allow-empty-coverage: true
debug: false
reporter: tap
reporter-arg: []
include:
  - t/*.@([mc]js|[jt]sx?)

$ reuse annotate --copyright "Wesley Schwengle" --license MIT --style python 
.taprc
usage: reuse annotate [-h] [--copyright COPYRIGHT] [--license LICENSE]
                      [--contributor CONTRIBUTOR] [--year YEAR]
                      [--style 
{applescript,aspx,bat,bibtex,c,csingle,css,f,ftl,handlebars,haskell,html,jinja,julia,lisp,m4,ml,f90,plantuml,python,rst,semicolon,tex,vst,vim,xquery}]
                      [--copyright-style 
{spdx,spdx-c,spdx-symbol,string,string-c,string-symbol,symbol}]
                      [--template TEMPLATE] [--exclude-year] 
[--merge-copyrights]
                      [--single-line | --multi-line] [--recursive] 
[--no-replace]
                      [--force-dot-license | --fallback-dot-license | 
--skip-unrecognised]
                      [--skip-existing]
                      path [path ...]
reuse annotate: error: The following files do not have a recognised file 
extension. Please use --style, --force-dot-license, --fallback-dot-license, or 
--skip-unrecognised:

.taprc

Please notice the --style python in the annotate function and thus should work.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reuse depends on:
ii  python3                     3.11.8-1
ii  python3-binaryornot         0.4.4+git20230412.ac4f56e+dfsg-2
ii  python3-boolean             4.0-4
ii  python3-debian              0.1.49
ii  python3-jinja2              3.1.3-1
ii  python3-license-expression  30.3.0-1

reuse recommends no packages.

reuse suggests no packages.

-- no debconf information

Reply via email to