aboutcode-org / aboutcode-org/scancode-toolkit

Detect "All rights reserved." on subsequent line

Aberta
#3,741 4 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
2.6k
Forks
791
Merge médio
1d 12h
PRs com merge (30d)
5

Descrição

### Description
We have found a scenario where the copyright is stated on two consecutive lines:

https://github.com/d3/d3-shape/blob/v1.3.7/LICENSE

> Copyright 2010-2015 Mike Bostock
> All rights reserved.

However ScanCode only reports the first line:

```
{
"path": "d3-shape-1.3.7/LICENSE",
"type": "file",
"name": "LICENSE",
"status": "application-package",
...
"copyrights": [
{
"end_line": 1,
"copyright": "Copyright 2010-2015 Mike Bostock",
"start_line": 1
}
],
...
```

### How To Reproduce

Run scancode and check result.

### System configuration

scancode.io with pkg:pypi/scancode-toolkit@32.1.0

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.