Skip to content

Commit

Permalink
install pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussein-Mahfouz committed Feb 14, 2024
1 parent 504fbbc commit f20b7d2
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ repos:
args: ["--fix", "--show-fixes"]
# then, format
- id: ruff-format


16 changes: 8 additions & 8 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Code of Conduct

We value the participation of every member of our community and want to ensure
that every contributor has an enjoyable and fulfilling experience. Accordingly,
We value the participation of every member of our community and want to ensure
that every contributor has an enjoyable and fulfilling experience. Accordingly,
everyone who participates in the acbm project is expected to show respect and courtesy to other community members at all time.

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers are dedicated to making participation in our project
contributors and maintainers are dedicated to making participation in our project
a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Expand All @@ -33,8 +33,8 @@ Examples of unacceptable behaviour by participants include:
- Other conduct which could reasonably be considered inappropriate in a
professional setting

<!--
Modify the following sections to the needs of your project.
<!--
Modify the following sections to the needs of your project.
## Our Responsibilities
Expand All @@ -43,5 +43,5 @@ Modify the following sections to the needs of your project.

## Attribution

This Code of Conduct is adapted from the [Turing Data Stories Code of Conduct](https://github.com/alan-turing-institute/TuringDataStories/blob/main/CODE_OF_CONDUCT.md) which is based on the [scona project Code of Conduct](https://github.com/WhitakerLab/scona/blob/master/CODE_OF_CONDUCT.md)
and the [Contributor Covenant](https://www.contributor-covenant.org), version [1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
This Code of Conduct is adapted from the [Turing Data Stories Code of Conduct](https://github.com/alan-turing-institute/TuringDataStories/blob/main/CODE_OF_CONDUCT.md) which is based on the [scona project Code of Conduct](https://github.com/WhitakerLab/scona/blob/master/CODE_OF_CONDUCT.md)
and the [Contributor Covenant](https://www.contributor-covenant.org), version [1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ python -m pip install acbm
```

From source:
```bash
```bash
git clone https://github.com/alan-turing-institute/acbm
cd acbm
poetry install
Expand Down
166 changes: 165 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ python = ">=3.10"

pytest = { version = ">=6", optional = true }
pytest-cov = { version = ">=3", optional = true }
pandas = "^2.2.0"

[tool.poetry.dev-dependencies]
pytest = ">= 6"
Expand Down Expand Up @@ -97,4 +98,3 @@ unfixable = [
"F841", # Would remove unused variables
]
flake8-unused-arguments.ignore-variadic-names = true # allow unused *args/**kwargs

0 comments on commit f20b7d2

Please sign in to comment.