Prechádzať zdrojové kódy

Removing check on master push

Nathan Beals 5 rokov pred
rodič
commit
a8707ef55c

+ 2 - 2
.github/workflows/commit-format.yml

@@ -7,8 +7,8 @@ on:
   # Triggers the workflow on push or pull request events but only for the master branch
   pull_request:
     branches: [ master ]
-  push:
-    branches: [ master ]
+  # push:
+  #   branches: [ master ]
 
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
 jobs:

+ 1 - 0
keep_exporter/cli.py

@@ -16,6 +16,7 @@ from keep_exporter.export import (
     login,
     try_rename_note,
 )
+
 # import keep_exporter.export as export
 
 

+ 3 - 4
keep_exporter/export.py

@@ -2,7 +2,7 @@
 import datetime
 import mimetypes
 import pathlib
-from typing import Dict, List, NamedTuple, Optional, Set, Tuple, Union, ValuesView, Any
+from typing import Any, Dict, List, NamedTuple, Optional, Set, Tuple, Union, ValuesView
 
 import click
 import click_config_file
@@ -23,7 +23,7 @@ def login(
         try:
             click.echo("Logging in with token")
             keep.resume(user_email, token)
-            print(keep.getMasterToken())
+            # print(keep.getMasterToken())
             return keep
         except gkeepapi.exception.LoginException as ex:
             raise click.BadParameter(f"Token login (resume) failed: {str(ex)}")
@@ -32,7 +32,7 @@ def login(
         try:
             click.echo("Logging in with password")
             keep.login(user_email, password)
-            print(keep.getMasterToken())
+            # print(keep.getMasterToken())
             return keep
         except gkeepapi.exception.LoginException as ex:
             raise click.BadParameter(f"Password login failed: {str(ex)}")
@@ -413,4 +413,3 @@ def delete_local_only_files(
         deleted_media += 1
 
     return (deleted_notes, deleted_media)
-