TGTGInsighttelegram intelligenceLIVE / telegram public index
← GitHub Trends

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @githubtrending · Post #15359 · Dec 23

#go#git#go#golang#hacktoberfest#hooks#lefthook#manager Lefthook is a fast Git hooks manager built in Go for Node.js, Ruby, Python, and other projects. Install it easily via Go, NPM, gem, or pipx, then configure hooks in a simple lefthook.yml file and run `lefthook install`. It runs commands in parallel, filters files with globs/regex, supports scripts, tags, Docker, and local overrides for speed and control. This saves you time on commits/pushes by automating linting and checks quickly without dependencies, keeping code clean effortlessly. https://github.com/evilmartians/lefthook

Results

1 similar post found

Search: #interpolation

当前筛选 #interpolation清除筛选
djangoproject

@djangoproject · Post #435 · 09/07/2017, 01:47 PM

https://www.python.org/dev/peps/pep-0498/ #Interpolation # Python supports multiple ways to format text strings. # These include %-formatting, # str.format(), # and string.Template # The !s, !r, and !a conversions are not strictly required. # Because arbitrary expressions are allowed inside the #f_strings, # this code: »> a = 'some string' »> f'{a!r}' "'some string'" Is identical to: »> f'{repr(a)}' "'some string'" Similarly, !s can be replaced by calls to #str() and !a by calls to #ascii().