From 70e7b80e756155fbbb09843da9313d07e6b8d6b5 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 2 Oct 2023 16:29:44 -0400 Subject: [PATCH 01/20] update --- chasten-test | 1 + debuggingbook | 1 + fuzzingbook | 1 + 3 files changed, 3 insertions(+) create mode 160000 chasten-test create mode 160000 debuggingbook create mode 160000 fuzzingbook diff --git a/chasten-test b/chasten-test new file mode 160000 index 00000000..2d8478da --- /dev/null +++ b/chasten-test @@ -0,0 +1 @@ +Subproject commit 2d8478da0234a1425f5e767e0d1a69d17ec26aa4 diff --git a/debuggingbook b/debuggingbook new file mode 160000 index 00000000..b492ac6e --- /dev/null +++ b/debuggingbook @@ -0,0 +1 @@ +Subproject commit b492ac6e09367ce124f15593664a7b6bc9d7475c diff --git a/fuzzingbook b/fuzzingbook new file mode 160000 index 00000000..5cbdedd0 --- /dev/null +++ b/fuzzingbook @@ -0,0 +1 @@ +Subproject commit 5cbdedd02abee0aab9341afcf518b290217b8309 From b50d54d86289e385853a0547bfe63274a02ce0ed Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 2 Oct 2023 16:31:11 -0400 Subject: [PATCH 02/20] removing books --- debuggingbook | 1 - fuzzingbook | 1 - 2 files changed, 2 deletions(-) delete mode 160000 debuggingbook delete mode 160000 fuzzingbook diff --git a/debuggingbook b/debuggingbook deleted file mode 160000 index b492ac6e..00000000 --- a/debuggingbook +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b492ac6e09367ce124f15593664a7b6bc9d7475c diff --git a/fuzzingbook b/fuzzingbook deleted file mode 160000 index 5cbdedd0..00000000 --- a/fuzzingbook +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5cbdedd02abee0aab9341afcf518b290217b8309 From c69898feded600aabd211c5eda556680a7bea61d Mon Sep 17 00:00:00 2001 From: VitalJoseph Date: Mon, 2 Oct 2023 16:40:58 -0400 Subject: [PATCH 03/20] added first implementation of xpath command line option --- chasten/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chasten/main.py b/chasten/main.py index 7f5cbae6..35b41542 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -384,6 +384,11 @@ def configure( # noqa: PLR0913 @cli.command() def analyze( # noqa: PLR0913, PLR0915 project: str = typer.Argument(help="Name of the project."), + xpath: str = typer.Option( + None, + "--xpath", + help="Version of xpath specified by user. (1.0 or 2.0)", + ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), "--check-include", From 2767ffa31d9e40e4358c99f2e5a9bb461a49206a Mon Sep 17 00:00:00 2001 From: VitalJoseph Date: Mon, 2 Oct 2023 19:37:12 -0400 Subject: [PATCH 04/20] added condition --- chasten/main.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index 35b41542..bedc21ee 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -385,9 +385,9 @@ def configure( # noqa: PLR0913 def analyze( # noqa: PLR0913, PLR0915 project: str = typer.Argument(help="Name of the project."), xpath: str = typer.Option( - None, + "2.0", "--xpath", - help="Version of xpath specified by user. (1.0 or 2.0)", + help="Version of xpath specified by user. (1.0 or 2.0).", ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), @@ -547,9 +547,12 @@ def analyze( # noqa: PLR0913, PLR0915 # search for the XML contents of an AST that match the provided # XPATH query using the search_python_file in search module of pyastgrep; # this looks for matches across all path(s) in the specified source path - match_generator = pyastgrepsearch.search_python_files( - paths=valid_directories, expression=current_xpath_pattern, xpath2=True - ) + + if xpath == "1.0": + match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=False) + else: + match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=True) + # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will # indicate that the analysis completed for each located file From 976e54b5b0d1f1ba16589af7c153c5954cf4d507 Mon Sep 17 00:00:00 2001 From: Keven Duverglas Date: Mon, 2 Oct 2023 20:14:23 -0400 Subject: [PATCH 05/20] Adding the command-line --- chasten-configuration | 1 + chasten/main.py | 11 ++++++----- multicounter | 1 + 3 files changed, 8 insertions(+), 5 deletions(-) create mode 160000 chasten-configuration create mode 160000 multicounter diff --git a/chasten-configuration b/chasten-configuration new file mode 160000 index 00000000..e9d9bf47 --- /dev/null +++ b/chasten-configuration @@ -0,0 +1 @@ +Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab diff --git a/chasten/main.py b/chasten/main.py index bedc21ee..f24386e1 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -384,11 +384,6 @@ def configure( # noqa: PLR0913 @cli.command() def analyze( # noqa: PLR0913, PLR0915 project: str = typer.Argument(help="Name of the project."), - xpath: str = typer.Option( - "2.0", - "--xpath", - help="Version of xpath specified by user. (1.0 or 2.0).", - ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), "--check-include", @@ -401,6 +396,12 @@ def analyze( # noqa: PLR0913, PLR0915 "-e", help="Attribute name, value, and match confidence level for exclusion.", ), + xpath: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( + (None, None, 0), + "--xpath", + "-a", + help="Runs the xpath version chosen.", + ), input_path: Path = typer.Option( filesystem.get_default_directory_list(), "--search-path", diff --git a/multicounter b/multicounter new file mode 160000 index 00000000..be3c47d9 --- /dev/null +++ b/multicounter @@ -0,0 +1 @@ +Subproject commit be3c47d906c641b347a4d2312b0aeecc50ad55ad From 5671f345fbdb3540a36cf7b8163f46a0340ff326 Mon Sep 17 00:00:00 2001 From: Keven Michel Duverglas <112563981+KevenDuverglas@users.noreply.github.com> Date: Mon, 16 Oct 2023 09:09:30 -0400 Subject: [PATCH 06/20] Change the --xpath command option --- chasten/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index f24386e1..1418629c 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -396,11 +396,11 @@ def analyze( # noqa: PLR0913, PLR0915 "-e", help="Attribute name, value, and match confidence level for exclusion.", ), - xpath: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( - (None, None, 0), - "--xpath", - "-a", - help="Runs the xpath version chosen.", + xpath: Path = typer.Option( + str, + "--xpath-version", + "-xp", + help="Accepts different xpath version, runs xpath version two by default.", ), input_path: Path = typer.Option( filesystem.get_default_directory_list(), From 5dbf74e48a1e225404249301820038d9db118683 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 16 Oct 2023 17:53:51 -0400 Subject: [PATCH 07/20] update --- chasten/__init__.py => __init__.py | 0 astute_subjects/chasten-configuration | 1 + astute_subjects/subject_forks/multicounter | 1 + chasten/main.py | 13 +++++++------ 4 files changed, 9 insertions(+), 6 deletions(-) rename chasten/__init__.py => __init__.py (100%) create mode 160000 astute_subjects/chasten-configuration create mode 160000 astute_subjects/subject_forks/multicounter diff --git a/chasten/__init__.py b/__init__.py similarity index 100% rename from chasten/__init__.py rename to __init__.py diff --git a/astute_subjects/chasten-configuration b/astute_subjects/chasten-configuration new file mode 160000 index 00000000..e9d9bf47 --- /dev/null +++ b/astute_subjects/chasten-configuration @@ -0,0 +1 @@ +Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab diff --git a/astute_subjects/subject_forks/multicounter b/astute_subjects/subject_forks/multicounter new file mode 160000 index 00000000..be3c47d9 --- /dev/null +++ b/astute_subjects/subject_forks/multicounter @@ -0,0 +1 @@ +Subproject commit be3c47d906c641b347a4d2312b0aeecc50ad55ad diff --git a/chasten/main.py b/chasten/main.py index bedc21ee..450550cd 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -383,12 +383,7 @@ def configure( # noqa: PLR0913 @cli.command() def analyze( # noqa: PLR0913, PLR0915 - project: str = typer.Argument(help="Name of the project."), - xpath: str = typer.Option( - "2.0", - "--xpath", - help="Version of xpath specified by user. (1.0 or 2.0).", - ), + project: str = typer.Argument(help="Name of the project."), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), "--check-include", @@ -401,6 +396,12 @@ def analyze( # noqa: PLR0913, PLR0915 "-e", help="Attribute name, value, and match confidence level for exclusion.", ), + xpath: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( + (None, None, 0), + "--xpath", + "-a", + help="Version of xpath specified by user. (1.0 or 2.0).", + ), input_path: Path = typer.Option( filesystem.get_default_directory_list(), "--search-path", From 6f0430f56852b600f16194037c7c12cd61c66590 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 16 Oct 2023 18:31:07 -0400 Subject: [PATCH 08/20] Fix --- chasten/main.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index 114e6e01..e4c45380 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -385,10 +385,11 @@ def configure( # noqa: PLR0913 @cli.command() def analyze( # noqa: PLR0913, PLR0915 project: str = typer.Argument(help="Name of the project."), - xpath: str = typer.Option( - "2.0", - "--xpath", - help="Version of xpath specified by user. (1.0 or 2.0).", + xpath: Path = typer.Option( + str, + "--xpath-version", + "-xp", + help="Accepts different xpath version, runs xpath version two by default.", ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), @@ -447,7 +448,7 @@ def analyze( # noqa: PLR0913, PLR0915 save: bool = typer.Option(False, help="Enable saving of output file(s)."), ) -> None: """💫 Analyze the AST of Python source code.""" - start_time = time.time + start_time = time.time() # output the preamble, including extra parameters specific to this function output_preamble( verbose, @@ -678,8 +679,9 @@ def analyze( # noqa: PLR0913, PLR0915 # confirm whether or not all of the checks passed # and then display the appropriate diagnostic message all_checks_passed = all(check_status_list) - end_time = time.time + end_time = time.time() elapsed_time = end_time - start_time + if not all_checks_passed: output.console.print("\n:sweat: At least one check did not pass.") sys.exit(constants.markers.Non_Zero_Exit) From dbdfb2df4343298b710250bf3cc8238677c60285 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 16 Oct 2023 18:42:26 -0400 Subject: [PATCH 09/20] remove multicounter --- astute_subjects/chasten-configuration | 1 - astute_subjects/subject_forks/multicounter | 1 - multicounter | 1 - 3 files changed, 3 deletions(-) delete mode 160000 astute_subjects/chasten-configuration delete mode 160000 astute_subjects/subject_forks/multicounter delete mode 160000 multicounter diff --git a/astute_subjects/chasten-configuration b/astute_subjects/chasten-configuration deleted file mode 160000 index e9d9bf47..00000000 --- a/astute_subjects/chasten-configuration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab diff --git a/astute_subjects/subject_forks/multicounter b/astute_subjects/subject_forks/multicounter deleted file mode 160000 index be3c47d9..00000000 --- a/astute_subjects/subject_forks/multicounter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be3c47d906c641b347a4d2312b0aeecc50ad55ad diff --git a/multicounter b/multicounter deleted file mode 160000 index be3c47d9..00000000 --- a/multicounter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be3c47d906c641b347a4d2312b0aeecc50ad55ad From 52093f4677d8b4c757068bd2c97f5fa8e02f2932 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Tue, 17 Oct 2023 15:17:01 -0400 Subject: [PATCH 10/20] fix pip build --- chasten-configuration | 1 - 1 file changed, 1 deletion(-) delete mode 160000 chasten-configuration diff --git a/chasten-configuration b/chasten-configuration deleted file mode 160000 index e9d9bf47..00000000 --- a/chasten-configuration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab From 8ddb9866f0be57a704a287dbff65658eedcc4d45 Mon Sep 17 00:00:00 2001 From: VitalJoseph Date: Fri, 20 Oct 2023 09:50:31 -0400 Subject: [PATCH 11/20] reformmated main --- chasten/main.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index e4c45380..398ca2cb 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -390,7 +390,7 @@ def analyze( # noqa: PLR0913, PLR0915 "--xpath-version", "-xp", help="Accepts different xpath version, runs xpath version two by default.", - ), + ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), "--check-include", @@ -552,9 +552,13 @@ def analyze( # noqa: PLR0913, PLR0915 # this looks for matches across all path(s) in the specified source path if xpath == "1.0": - match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=False) + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=False + ) else: - match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=True) + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=True + ) # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will @@ -685,7 +689,9 @@ def analyze( # noqa: PLR0913, PLR0915 if not all_checks_passed: output.console.print("\n:sweat: At least one check did not pass.") sys.exit(constants.markers.Non_Zero_Exit) - output.console.print(f"\n:joy: All checks passed. Elapsed Time: {elapsed_time} seconds") + output.console.print( + f"\n:joy: All checks passed. Elapsed Time: {elapsed_time} seconds" + ) @cli.command() From da7caa123c48ab932db15e162dfdde6dd413dce7 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Fri, 27 Oct 2023 09:09:37 -0400 Subject: [PATCH 12/20] build update --- chasten/main.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index e4c45380..398ca2cb 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -390,7 +390,7 @@ def analyze( # noqa: PLR0913, PLR0915 "--xpath-version", "-xp", help="Accepts different xpath version, runs xpath version two by default.", - ), + ), check_include: Tuple[enumerations.FilterableAttribute, str, int] = typer.Option( (None, None, 0), "--check-include", @@ -552,9 +552,13 @@ def analyze( # noqa: PLR0913, PLR0915 # this looks for matches across all path(s) in the specified source path if xpath == "1.0": - match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=False) + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=False + ) else: - match_generator = pyastgrepsearch.search_python_files(paths=valid_directories, expression=current_xpath_pattern, xpath2=True) + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=True + ) # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will @@ -685,7 +689,9 @@ def analyze( # noqa: PLR0913, PLR0915 if not all_checks_passed: output.console.print("\n:sweat: At least one check did not pass.") sys.exit(constants.markers.Non_Zero_Exit) - output.console.print(f"\n:joy: All checks passed. Elapsed Time: {elapsed_time} seconds") + output.console.print( + f"\n:joy: All checks passed. Elapsed Time: {elapsed_time} seconds" + ) @cli.command() From 1903c1800f02b772c95323b4c98ed5adef026b6b Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Fri, 27 Oct 2023 09:51:15 -0400 Subject: [PATCH 13/20] _int_ --- __init__.py => chasten/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename __init__.py => chasten/__init__.py (100%) diff --git a/__init__.py b/chasten/__init__.py similarity index 100% rename from __init__.py rename to chasten/__init__.py From 07a793dfaff097c5066a9ddca3fc18346a9790e4 Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Fri, 27 Oct 2023 11:15:10 -0400 Subject: [PATCH 14/20] linting fixes --- chasten/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chasten/main.py b/chasten/main.py index 47853de4..dc192e2e 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -1,9 +1,9 @@ """💫 Chasten checks the AST of a Python program.""" import sys +import time from pathlib import Path from typing import Any, Dict, List, Tuple, Union -import time import typer import yaml From 1f5c8e33ec434c81c076122292656c35c2591adb Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Fri, 27 Oct 2023 11:26:50 -0400 Subject: [PATCH 15/20] Testing to see what is causing the py error --- chasten/main.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index dc192e2e..6bddabf7 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -551,14 +551,14 @@ def analyze( # noqa: PLR0913, PLR0915 # XPATH query using the search_python_file in search module of pyastgrep; # this looks for matches across all path(s) in the specified source path - if xpath == "1.0": - match_generator = pyastgrepsearch.search_python_files( - paths=valid_directories, expression=current_xpath_pattern, xpath2=False - ) - else: - match_generator = pyastgrepsearch.search_python_files( - paths=valid_directories, expression=current_xpath_pattern, xpath2=True - ) + #if xpath == "1.0": + # match_generator = pyastgrepsearch.search_python_files( + # paths=valid_directories, expression=current_xpath_pattern, xpath2=False + # ) + #else: + # match_generator = pyastgrepsearch.search_python_files( + # paths=valid_directories, expression=current_xpath_pattern, xpath2=True + # ) # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will From 36cdf1e8f21e00ed6293631b835999cfb3d2b447 Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Fri, 27 Oct 2023 11:34:10 -0400 Subject: [PATCH 16/20] taking out the if statement --- chasten/main.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index 6bddabf7..3fe7c2ba 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -550,15 +550,17 @@ def analyze( # noqa: PLR0913, PLR0915 # search for the XML contents of an AST that match the provided # XPATH query using the search_python_file in search module of pyastgrep; # this looks for matches across all path(s) in the specified source path - - #if xpath == "1.0": - # match_generator = pyastgrepsearch.search_python_files( - # paths=valid_directories, expression=current_xpath_pattern, xpath2=False - # ) - #else: - # match_generator = pyastgrepsearch.search_python_files( - # paths=valid_directories, expression=current_xpath_pattern, xpath2=True - # ) + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=True + ) + # if xpath == "1.0": + # match_generator = pyastgrepsearch.search_python_files( + # paths=valid_directories, expression=current_xpath_pattern, xpath2=False + # ) + # else: + # match_generator = pyastgrepsearch.search_python_files( + # paths=valid_directories, expression=current_xpath_pattern, xpath2=True + # ) # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will From 16c3c387306c5cff4cd29ca7b38be97b7a982835 Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Fri, 27 Oct 2023 11:44:47 -0400 Subject: [PATCH 17/20] concluding fixes to lint error --- chasten/main.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/chasten/main.py b/chasten/main.py index 3fe7c2ba..cac59bf4 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -550,17 +550,17 @@ def analyze( # noqa: PLR0913, PLR0915 # search for the XML contents of an AST that match the provided # XPATH query using the search_python_file in search module of pyastgrep; # this looks for matches across all path(s) in the specified source path - match_generator = pyastgrepsearch.search_python_files( - paths=valid_directories, expression=current_xpath_pattern, xpath2=True - ) - # if xpath == "1.0": - # match_generator = pyastgrepsearch.search_python_files( - # paths=valid_directories, expression=current_xpath_pattern, xpath2=False - # ) - # else: - # match_generator = pyastgrepsearch.search_python_files( + # match_generator = pyastgrepsearch.search_python_files( # paths=valid_directories, expression=current_xpath_pattern, xpath2=True - # ) + # ) + if xpath == "1.0": + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=False + ) + else: + match_generator = pyastgrepsearch.search_python_files( + paths=valid_directories, expression=current_xpath_pattern, xpath2=True + ) # materialize a list from the generator of (potential) matches; # note that this list will also contain an object that will From fe4bf583c723957531a97abc2e3e07377a65aced Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 30 Oct 2023 10:47:35 -0400 Subject: [PATCH 18/20] test --- chasten-configuration | 1 + 1 file changed, 1 insertion(+) create mode 160000 chasten-configuration diff --git a/chasten-configuration b/chasten-configuration new file mode 160000 index 00000000..e9d9bf47 --- /dev/null +++ b/chasten-configuration @@ -0,0 +1 @@ +Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab From 36925eb94726c63fb2169a8b1f32bce877bca245 Mon Sep 17 00:00:00 2001 From: Finley8 Date: Mon, 30 Oct 2023 10:48:53 -0400 Subject: [PATCH 19/20] test --- chasten-configuration | 1 - 1 file changed, 1 deletion(-) delete mode 160000 chasten-configuration diff --git a/chasten-configuration b/chasten-configuration deleted file mode 160000 index e9d9bf47..00000000 --- a/chasten-configuration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e9d9bf476af50f36d5affe8d966bb8ab6b8ff3ab From 375b6fff85555de84af87c5d77908e983f9b0548 Mon Sep 17 00:00:00 2001 From: Keven Michel Duverglas <112563981+KevenDuverglas@users.noreply.github.com> Date: Wed, 1 Nov 2023 09:08:42 -0400 Subject: [PATCH 20/20] adding # PLR0912 to code --- chasten/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chasten/main.py b/chasten/main.py index cac59bf4..722f18a2 100644 --- a/chasten/main.py +++ b/chasten/main.py @@ -383,7 +383,7 @@ def configure( # noqa: PLR0913 @cli.command() -def analyze( # noqa: PLR0913, PLR0915 +def analyze( # noqa: PLR0912, PLR0913, PLR0915 project: str = typer.Argument(help="Name of the project."), xpath: Path = typer.Option( str,