diff --git a/AUTHORS.md b/AUTHORS.md index 284f298b..5c1e4321 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -13,8 +13,8 @@ The following people have made contributions to this project: - [Alexis Berne](https://people.epfl.ch/alexis.berne?lang=en) - EPFL - [Gionata Ghiggi (ghiggi)](https://github.com/ghiggi) - EPFL - [Jacopo Grazioli (jacgraz)](https://github.com/jacgraz) - EPFL -- [Saverio Guzzo (saveriogzz)](https://github.com/saveriogzz) - TU DELFT +- [Saverio Guzzo (saveriogzz)](https://github.com/saveriogzz) - TU DELFT - [Kim Candolfi (KimCandolfi)](https://github.com/KimCandolfi) - EPFL - [Régis Longchamp (regislon)](https://github.com/regislon) - EPFL - [Son Pham-Ba (sphamba)](https://github.com/sphamba) - EPFL -- [Charlotte Gisèle Weil (charlottegiseleweil)](https://github.com/charlottegiseleweil) - EPFL +- [Charlotte Gisèle Weil (charlottegiseleweil)](https://github.com/charlottegiseleweil) - EPFL diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 259566b2..7149540e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -58,7 +58,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -\[INSERT CONTACT METHOD\]. +[INSERT CONTACT METHOD]. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/README.md b/README.md index d4dc6a5c..704a79b4 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ we highly recommend to join the [**DISDRODB Slack Workspace**](https://join.slac Feel free to also open a [GitHub Issue](https://github.com/ltelab/disdrodb/issues) or a [GitHub Discussion](https://github.com/ltelab/disdrodb/discussions) specific to your questions or ideas. -## ✍️ Contributors +## ✍️ Contributors - [Gionata Ghiggi](https://people.epfl.ch/gionata.ghiggi) - [Kim Candolfi](https://github.com/KimCandolfi) @@ -137,7 +137,7 @@ Feel free to also open a [GitHub Issue](https://github.com/ltelab/disdrodb/issue You can cite the DISDRODB software by: -> Gionata Ghiggi, Kim Candolfi, Régis Longchamp, Charlotte Weil, Alexis Berne (2023). ltelab/disdrodb Zenodo. https://doi.org/10.5281/zenodo.7680581 +> Gionata Ghiggi, Kim Candolfi, Régis Longchamp, Charlotte Weil, Alexis Berne (2023). ltelab/disdrodb Zenodo. https://doi.org/10.5281/zenodo.7680581 If you want to cite a specific version, have a look at the [Zenodo site](https://doi.org/10.5281/zenodo.7680581) diff --git a/SECURITY.md b/SECURITY.md index 040e8ac2..03291d55 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,7 +10,7 @@ backported more regularly. | Version | Supported | | -------------- | ------------------ | | 0.x.x (latest) | :white_check_mark: | -| \< 0.0.17 | :x: | +| < 0.0.17 | :x: | ## Unsafe YAML Loading diff --git a/disdrodb/tests/conftest.py b/disdrodb/tests/conftest.py index 97e28bed..0263538c 100644 --- a/disdrodb/tests/conftest.py +++ b/disdrodb/tests/conftest.py @@ -151,7 +151,7 @@ def create_fake_raw_data_file( return str(filepath) -@pytest.fixture() +@pytest.fixture def create_test_config_files(request): # noqa PT004 """Create the specified config files into a temporary "test" directory. diff --git a/disdrodb/tests/test_api/test_api_info.py b/disdrodb/tests/test_api/test_api_info.py index a9284e1b..7e84b6f5 100644 --- a/disdrodb/tests/test_api/test_api_info.py +++ b/disdrodb/tests/test_api/test_api_info.py @@ -68,7 +68,7 @@ # valid_filepath = VALID_FNAME -@pytest.fixture() +@pytest.fixture def valid_filepath(tmp_path): # Create a valid filepath for testing filepath = tmp_path / VALID_FNAME @@ -76,7 +76,7 @@ def valid_filepath(tmp_path): return str(filepath) -@pytest.fixture() +@pytest.fixture def invalid_filepath(tmp_path): # Create an invalid filepath for testing filepath = tmp_path / INVALID_FNAME diff --git a/disdrodb/tests/test_l0/test_l0b_processing.py b/disdrodb/tests/test_l0/test_l0b_processing.py index 89ad123a..6a751c65 100644 --- a/disdrodb/tests/test_l0/test_l0b_processing.py +++ b/disdrodb/tests/test_l0/test_l0b_processing.py @@ -474,7 +474,7 @@ def test__convert_object_variables_to_string(): assert ds["b"].dtype == "float" -@pytest.fixture() +@pytest.fixture def encoding_dict_1(): # create a test encoding dictionary return { @@ -484,7 +484,7 @@ def encoding_dict_1(): } -@pytest.fixture() +@pytest.fixture def encoding_dict_2(): # create a test encoding dictionary return { @@ -494,7 +494,7 @@ def encoding_dict_2(): } -@pytest.fixture() +@pytest.fixture def ds(): # create a test xr.Dataset data = { diff --git a/disdrodb/tests/test_utils/test_utils_logger.py b/disdrodb/tests/test_utils/test_utils_logger.py index d9438935..f2840d85 100644 --- a/disdrodb/tests/test_utils/test_utils_logger.py +++ b/disdrodb/tests/test_utils/test_utils_logger.py @@ -116,7 +116,7 @@ def test_define_summary_log_when_no_problems(tmp_path): assert not os.path.exists(problem_log_path) -@pytest.fixture() +@pytest.fixture def test_logger(): logger = logging.getLogger("test_logger") logger.setLevel(logging.DEBUG) # Capture all log levels @@ -155,7 +155,7 @@ def test_log_error(caplog, test_logger, capfd): assert " - Error message" in out -@pytest.fixture() +@pytest.fixture def log_environment(tmp_path): processed_dir = tmp_path / "processed" os.makedirs(processed_dir, exist_ok=True) diff --git a/docs/source/tutorials/.gitkeep b/docs/source/tutorials/.gitkeep index 139597f9..e69de29b 100644 --- a/docs/source/tutorials/.gitkeep +++ b/docs/source/tutorials/.gitkeep @@ -1,2 +0,0 @@ - - diff --git a/tutorials/reader_preparation.ipynb b/tutorials/reader_preparation.ipynb index b47cf41d..8c5a1736 100644 --- a/tutorials/reader_preparation.ipynb +++ b/tutorials/reader_preparation.ipynb @@ -819,7 +819,7 @@ "df_raw = read_raw_file(filepath, column_names=None, reader_kwargs=reader_kwargs)\n", "# Print the dataframe\n", "print(f\"Dataframe for the file {os.path.basename(filepath)} :\")\n", - "display(df_raw) # noqa F821" + "display(df_raw)" ] }, { @@ -2432,7 +2432,7 @@ " verbose=verbose,\n", " df_sanitizer_fun=df_sanitizer_fun,\n", ")\n", - "display(df) # noqa F821" + "display(df)" ] }, {