From 711ecd89af6509424c5dae4cf3bac318d1e05955 Mon Sep 17 00:00:00 2001 From: pem70 Date: Mon, 22 Jul 2024 14:26:38 -0400 Subject: [PATCH 1/4] Update datasets.py Signed-off-by: pem70 --- src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py b/src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py index 376ac89e..d5551867 100644 --- a/src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py +++ b/src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py @@ -286,11 +286,6 @@ def like(self) -> Optional[str]: """Get the dataset name to copy attributes from.""" return self.__like - @like.setter - def like(self, like: Optional[str]): - """Set the dataset name to copy attributes from.""" - self.__like = like - def to_dict(self) -> dict: """Return the DatasetOption as a dict.""" return {key.replace("_DatasetOption__", ""): value for key, value in self.__dict__.items() if value is not None} From 1b5a773cc4063bd853bf734b75be35c26b9729d8 Mon Sep 17 00:00:00 2001 From: pem70 Date: Mon, 22 Jul 2024 14:44:53 -0400 Subject: [PATCH 2/4] Update requirements.txt Signed-off-by: pem70 --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ede98bc3..24de5c62 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,6 @@ pycodestyle==2.9.0 pydocstyle==5.1.1 pydoclint==0.5.3 pyfakefs -pyflakes==2.5.0 pylama==7.7.1 pylint==3.2.5 pytest==7.1.2 From 9cd2b2a3c8769cdd2536fdd811f3756d3211f93e Mon Sep 17 00:00:00 2001 From: pem70 Date: Mon, 22 Jul 2024 14:47:00 -0400 Subject: [PATCH 3/4] Update settings.json Signed-off-by: pem70 --- .vscode/settings.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index b378a106..fe2a97f8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,4 +19,6 @@ "./src/zos_jobs", "./src/zosmf" ], + "python.linting.enabled": true, + "python.linting.pylintEnabled": true, } From 4f44ed61151de8d23720603d1bc8fdf2d6f6f4cb Mon Sep 17 00:00:00 2001 From: pem70 Date: Mon, 22 Jul 2024 15:04:43 -0400 Subject: [PATCH 4/4] Update CONTRIBUTING.md Signed-off-by: pem70 --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6ac66f87..fa15ff35 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,6 +65,6 @@ Code standards This project follows the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide. -This project also uses `flake8` for code linting. Make sure to run `flake8` on your code before submitting a pull request. +This project also uses `pydocstyle`, `pydoclint`, and `pylint` for code linting. Make sure to run them on your code before submitting a pull request. We recommend using `black` and `isort` as code formatters. Please format your code using these tools before creating a pull request.