mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

It's a tiny library that has not been updated in years, and it was leading to a warning on startup: DeprecationWarning: invalid escape sequence \W return re.sub("\W+", "", string)
18 lines
382 B
Text
18 lines
382 B
Text
# export stringcase as a separate python library as well, as our build tools need it
|
|
py_library(
|
|
name = "stringcase",
|
|
srcs = ["stringcase.py"],
|
|
imports = [
|
|
".",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "_vendor",
|
|
srcs = [
|
|
"__init__.py",
|
|
"stringcase.py",
|
|
],
|
|
visibility = ["//pylib:__subpackages__"],
|
|
)
|