Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anibali committed Sep 11, 2023
1 parent b2fe467 commit bafc3b3
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ __pycache__/
# Temporary files
*.swp
*~
conan_output

# IDE configuration
.idea/
Expand All @@ -20,4 +19,5 @@ core
/dist/
/*.egg-info/
/.eggs/
/conan_output/
*.so
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

class LibwebpRecipe(ConanFile):
def requirements(self):
self.requires("libwebp/1.0.3")
self.requires('libwebp/1.0.3')

def build_requirements(self):
if not shutil.which('cmake'):
self.tool_requires("cmake/[>=3.5]")
self.tool_requires('cmake/[>=3.5]')
153 changes: 58 additions & 95 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions webp_build/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import logging


def _create_logger():
logger = logging.getLogger(__name__)
logger.propagate = False
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
ch.setFormatter(formatter)
logger.addHandler(ch)
return logger


logger = _create_logger()
Loading

0 comments on commit bafc3b3

Please sign in to comment.