Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotate command should ignore 0-sized files #1134

Open
mschoettle opened this issue Jan 28, 2025 · 0 comments
Open

annotate command should ignore 0-sized files #1134

mschoettle opened this issue Jan 28, 2025 · 0 comments

Comments

@mschoettle
Copy link

In #208 it was decided to ignore 0-sized files which #205 implemented.

We are currently in the process of annotating all files in our repos using a shell script that iterates through all tracked files and calls reuse annotate --... <file>.

We ended up with __init__.py files being annotated. While we could ignore them in our shell script I wonder if annotate should raise an error or at least a warning if the file to annotate is 0-sized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant