Skip to content

Commit

Permalink
Yes?
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya committed Oct 28, 2022
1 parent abe418b commit 36f06a0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 106 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pip install aiopurpleair
5. Install the dev environment: `script/setup`
6. Code your new feature or bug fix.
7. Write tests that cover your new functionality.
8. Run tests and ensure 100% code coverage: `nox -rs coverage`
8. Run tests and ensure 100% code coverage: `poetry run pytest test`
9. Update `README.md` with any new documentation.
10. Add yourself to `AUTHORS.md`.
11. Submit a pull request!
4 changes: 2 additions & 2 deletions aiopurpleair/model/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class GetKeysResponse(BaseModel):
api_key_type: str

@validator("api_key_type")
@staticmethod
def validate_api_key_type(value: str) -> ApiKeyType:
@classmethod
def validate_api_key_type(cls, value: str) -> ApiKeyType: # noqa: F841
"""Validate the API key type.
Args:
Expand Down
34 changes: 0 additions & 34 deletions noxfile.py

This file was deleted.

69 changes: 1 addition & 68 deletions poetry.lock

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

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ flake8-markdown = "^0.3.0"
flake8-simplify = "^0.19.3"
isort = "^5.10.1"
mypy = "^0.982"
nox = "^2022.1.7"
pre-commit = "^2.20.0"
pre-commit-hooks = "^4.3.0"
pylint = "^2.15.5"
Expand Down

0 comments on commit 36f06a0

Please sign in to comment.