Skip to content

Commit 0bca1c7

Browse files
committed
Revert "Initial commit"
This reverts commit d9b4220.
1 parent d9b4220 commit 0bca1c7

20 files changed

+376
-433
lines changed

.gitignore

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,3 @@ cython_debug/
164164
# and can be added to the global gitignore or merged into this file. For a more nuclear
165165
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
166166
.idea/
167-
168-
169-
# Ignore data folders
170-
data/**/*
171-
172-
#Dont ignore the data folders
173-
!data/**/.gitkeep
174-
175-
176-
# Ignore Environments
177-
venv/
178-
.venv/
179-
env/

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
63+
ENTER_YOUR_EMAIL_ADDRESS.
6464

6565
All complaints will be reviewed and investigated promptly and fairly.
6666

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# anonymize-pii pull request guidelines
1+
# template-python-repository pull request guidelines
22

3-
Pull requests are always welcome, and we appreciate any help you give. Note that a code of conduct applies to all spaces managed by the anonymize-pii project, including issues and pull requests. Please see the [Code of Conduct](CODE_OF_CONDUCT.md) for details.
3+
Pull requests are always welcome, and we appreciate any help you give. Note that a code of conduct applies to all spaces managed by the template-python-repository project, including issues and pull requests. Please see the [Code of Conduct](CODE_OF_CONDUCT.md) for details.
44

55
When submitting a pull request, we ask you to check the following:
66

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Child Mind Institute
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Welcome to the CMI-DAIR Template Python Repository! This template is designed to streamline your project setup and ensure a consistent structure. To get started, follow these steps:
66

7-
- [x] Run `setup_template.py` to initialize the repository.
7+
- [ ] Run `setup_template.py` to initialize the repository.
88
- [ ] Replace the content of this `README.md` with details specific to your project.
99
- [ ] Install the `pre-commit` hooks to ensure code quality on each commit.
1010
- [ ] Revise SECURITY.md to reflect supported versions or remove it if not applicable.
@@ -15,11 +15,12 @@ Welcome to the CMI-DAIR Template Python Repository! This template is designed to
1515

1616
# Project name
1717

18-
[![Build](https://github.com/childmindresearch/anonymize-pii/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/childmindresearch/anonymize-pii/actions/workflows/test.yaml?query=branch%3Amain)
19-
[![codecov](https://codecov.io/gh/childmindresearch/anonymize-pii/branch/main/graph/badge.svg?token=22HWWFWPW5)](https://codecov.io/gh/childmindresearch/anonymize-pii)
18+
[![Build](https://github.com/childmindresearch/template-python-repository/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/childmindresearch/template-python-repository/actions/workflows/test.yaml?query=branch%3Amain)
19+
[![codecov](https://codecov.io/gh/childmindresearch/template-python-repository/branch/main/graph/badge.svg?token=22HWWFWPW5)](https://codecov.io/gh/childmindresearch/template-python-repository)
2020
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
2121
![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)
22-
[![pages](https://img.shields.io/badge/api-docs-blue)](https://childmindresearch.github.io/anonymize-pii)
22+
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/childmindresearch/template-python-repository/blob/main/LICENSE)
23+
[![pages](https://img.shields.io/badge/api-docs-blue)](https://childmindresearch.github.io/template-python-repository)
2324

2425
What problem does this tool solve?
2526

@@ -40,7 +41,7 @@ pip install APP_NAME
4041
Or get the newest development version via:
4142

4243
```sh
43-
pip install git+https://github.com/childmindresearch/anonymize-pii
44+
pip install git+https://github.com/childmindresearch/template-python-repository
4445
```
4546

4647
## Quick start

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Note which version(s) will receive security updates. For example:
1515

1616
## Reporting Vulnerabilities
1717

18-
To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at [email protected]. Please refrain from using other communication channels.
18+
To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at ENTER_YOUR_EMAIL_ADDRESS. Please refrain from using other communication channels.
1919

2020
For non-security-related issues, we welcome your input and feedback on our issues page. Feel free to share your ideas and suggestions to help us improve our services.

pyproject.toml

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,51 @@
1-
[build-system]
2-
requires = ["setuptools>=65.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
4-
5-
61
[project]
7-
name = "anonymize-pii"
2+
name = "app-name"
83
version = "0.1.0"
9-
description = "A PII anonymizer for text data that includes sensitive information."
4+
description = "A beautiful description."
105
authors = [
116
{name = "CMI DAIR", email = "[email protected]"}
127
]
8+
license = "LGPL-2.1-only"
139
readme = "README.md"
1410
requires-python = ">=3.12"
11+
dependencies = []
12+
13+
[dependency-groups]
14+
dev = [
15+
"pytest>=8.3.4",
16+
"mypy>=1.13.0",
17+
"pre-commit>=4.0.1",
18+
"pytest-cov>=6.0.0",
19+
"ruff>=0.8.1",
20+
"deptry>=0.23.0"
21+
]
22+
docs = ["pdoc>=15.0.0"]
1523

24+
[tool.pytest.ini_options]
25+
pythonpath = ["src"]
26+
testpaths = ["tests"]
1627

17-
[tool.setuptools]
18-
package-dir = {"" = "src"}
28+
[tool.mypy]
29+
ignore_missing_imports = true
1930

20-
[tool.setuptools.packages.find]
21-
where = ["src"]
31+
[tool.ruff]
32+
line-length = 88
33+
indent-width = 4
34+
src = ["src"]
35+
target-version = "py312"
36+
37+
[tool.ruff.lint]
38+
select = ["ANN", "D", "E", "F", "I"]
39+
ignore = []
40+
fixable = ["ALL"]
41+
unfixable = []
42+
43+
[tool.ruff.lint.pydocstyle]
44+
convention = "google"
45+
46+
[tool.ruff.lint.per-file-ignores]
47+
"tests/**/*.py" = []
48+
49+
[build-system]
50+
requires = ["uv_build>=0.9.3,<0.10.0"]
51+
build-backend = "uv_build"

requirements.txt

Lines changed: 0 additions & 65 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

setup/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Module for code required by the setup_template.py script."""

0 commit comments

Comments
 (0)