diff --git a/.github/workflows/github_workflow.yaml b/.github/workflows/github_workflow.yaml index e57579a..9ba5706 100644 --- a/.github/workflows/github_workflow.yaml +++ b/.github/workflows/github_workflow.yaml @@ -3,10 +3,10 @@ name: code_quality on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: build: diff --git a/README.md b/README.md index 72f912b..98d9438 100644 --- a/README.md +++ b/README.md @@ -410,10 +410,10 @@ name: code_quality on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: build: diff --git a/first_package/__init__.py b/first_package/__init__.py index 7f5cf1b..9e76b1c 100644 --- a/first_package/__init__.py +++ b/first_package/__init__.py @@ -1,8 +1,12 @@ import os import sys + def insecure_function(user_input): os.system(f"rm -rf {user_input}") -user_input = input( "Podaj ścieżkę do pliku: ") # bardzo dluuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuugi komentarz -insecure_function(user_input) \ No newline at end of file + +user_input = input( + "Podaj ścieżkę do pliku: " +) # bardzo dluuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuugi komentarz +insecure_function(user_input)