Skip to content

Commit

Permalink
Merge pull request #851 from carmenbianca/refactor-annotate
Browse files Browse the repository at this point in the history
Refactor header.py
  • Loading branch information
carmenbianca authored Oct 24, 2023
2 parents e617c56 + 3d63514 commit 2548dc5
Show file tree
Hide file tree
Showing 12 changed files with 916 additions and 734 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install prettier
run: npm install prettier@2.7.1
run: npm install prettier@3.0.3
- name: Run prettier
run: npx prettier --check .

Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

repos:
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 23.10.1
hooks:
- id: black
- repo: https://github.com/pycqa/isort
Expand All @@ -20,11 +20,11 @@ repos:
name: isort (pyi)
types: [pyi]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.6.1
hooks:
- id: mypy
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
rev: v3.0.3
hooks:
- id: prettier
name: prettier
Expand Down
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,18 @@ CLI command and its behaviour. There are no guarantees of stability for the
"[repositories] that were cloned independently and later added as a submodule
or old setups", which "have the submodule's git directory inside the submodule
instead of embedded into the superproject's git directory". (#687)

- When running `annotate` on a file with an unrecognised file path,
automatically create a `.license` file. (#851)
- No longer scan binary or uncommentable files for their contents in search of
REUSE information. (#825)

### Deprecated

### Removed

- Removed deprecated `--explicit-license`. (#851)
- Removed deprecated `addheader`. (#851)

### Fixed

- Reduced python-debian minimum version to 0.1.34. (#808)
Expand Down Expand Up @@ -763,8 +767,8 @@ Specification.
- `reuse lint` now provides a helpful summary instead of merely spitting out
non-compliant files.
- `reuse compile` is now `reuse spdx`.
- In addition to `Copyright` and `©`, copyright lines can be marked with the tag
`SPDX-FileCopyrightText:`. This is the new recommended default.
- In addition to `Copyright` and `©`, copyright lines can be marked with the
tag `SPDX-FileCopyrightText:`. This is the new recommended default.
- Project no longer depends on pygit2.
- The list of SPDX licenses has been updated.
- `Valid-License-Identifier` is no longer used, and licenses and exceptions can
Expand Down
467 changes: 347 additions & 120 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ pylint = "^2.12.2"
mypy = "^1.0"
GitPython = "^3.0"

[tool.poetry.group.lsp.dependencies]
python-lsp-server = "*"
pylsp-mypy = "*"
pyls-isort = "*"
python-lsp-black = "*"

[tool.poetry.scripts]
reuse = 'reuse._main:main'

Expand Down
Loading

0 comments on commit 2548dc5

Please sign in to comment.