Skip to content

Commit

Permalink
chore: remove docs and pii checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Nov 24, 2023
1 parent 1e02c4f commit 01f54cc
Show file tree
Hide file tree
Showing 29 changed files with 21 additions and 1,489 deletions.
41 changes: 0 additions & 41 deletions .annotation_safe_list.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, django32, django40]
toxenv: [quality, django32, django40]

steps:
- uses: actions/checkout@v3
Expand Down
35 changes: 0 additions & 35 deletions .pii_annotations.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .readthedocs.yml

This file was deleted.

17 changes: 4 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: clean clean_tox compile_translations coverage diff_cover docs dummy_translations \
extract_translations fake_translations help pii_check pull_translations push_translations \
.PHONY: clean clean_tox compile_translations coverage diff_cover dummy_translations \
extract_translations fake_translations help pull_translations push_translations \
quality requirements selfcheck test test-all upgrade validate install_transifex_client

.DEFAULT_GOAL := help
Expand Down Expand Up @@ -28,10 +28,6 @@ coverage: clean ## generate and view HTML coverage report
pytest --cov-report html
$(BROWSER)htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
tox -e docs
$(BROWSER)docs/_build/html/index.html

# Define PIP_COMPILE_OPTS=-v to get more information during make upgrade.
PIP_COMPILE = pip-compile --upgrade $(PIP_COMPILE_OPTS)

Expand All @@ -56,9 +52,6 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
quality: ## check coding style with pycodestyle and pylint
tox -e quality

pii_check: ## check for PII annotations on all Django models
tox -e pii_check

piptools: ## install pinned version of pip-compile and pip-sync
pip install -r requirements/pip.txt
pip install -r requirements/pip-tools.txt
Expand All @@ -72,19 +65,17 @@ test: clean ## run tests in the current virtualenv
diff_cover: test ## find diff lines that need test coverage
diff-cover coverage.xml

test-all: quality pii_check ## run tests on every supported Python/Django combination
test-all: quality ## run tests on every supported Python/Django combination
tox
tox -e docs

validate: quality pii_check test ## run tests and quality checks
validate: quality test ## run tests and quality checks

selfcheck: ## check that the Makefile is well-formed
@echo "The Makefile is well-formed."

## Localization targets

extract_translations: ## extract strings to be translated, outputting .mo files
rm -rf docs/_build
cd filesmanager && i18n_tool extract --no-segment

compile_translations: ## compile translation files, outputting .po files for each supported language
Expand Down
230 changes: 0 additions & 230 deletions docs/Makefile

This file was deleted.

10 changes: 0 additions & 10 deletions docs/_static/theme_overrides.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog.rst

This file was deleted.

Loading

0 comments on commit 01f54cc

Please sign in to comment.