riesi / frog_emojis Goto Github PK
View Code? Open in Web Editor NEWFroggyfied custom emojies and logos
Home Page: https://riesi.github.io/frog_emojis/
License: Other
Froggyfied custom emojies and logos
Home Page: https://riesi.github.io/frog_emojis/
License: Other
https://github.com/Riesi/frog_emojis/blob/master/gen_png.py#L176-L185
args.specific should be used instead of parsing the arguments by hand
also dont check length
$ pylint gen_png.py
************* Module gen_png
gen_png.py:43:0: C0301: Line too long (110/100) (line-too-long)
gen_png.py:47:0: C0301: Line too long (111/100) (line-too-long)
gen_png.py:48:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)
gen_png.py:51:0: C0301: Line too long (129/100) (line-too-long)
gen_png.py:57:60: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:62:60: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:64:0: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:68:45: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:73:54: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:75:0: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:82:0: C0301: Line too long (137/100) (line-too-long)
gen_png.py:83:0: C0301: Line too long (153/100) (line-too-long)
gen_png.py:84:0: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:85:0: C0301: Line too long (124/100) (line-too-long)
gen_png.py:114:0: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:156:0: C0303: Trailing whitespace (trailing-whitespace)
gen_png.py:38:5: W0511: TODO: make this adjustable via option/parameter (fixme)
gen_png.py:1:0: C0114: Missing module docstring (missing-module-docstring)
gen_png.py:30:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:31:8: W0621: Redefining name 'f' from outer scope (line 147) (redefined-outer-name)
gen_png.py:31:8: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:32:12: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:37:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:37:20: W0621: Redefining name 'files' from outer scope (line 88) (redefined-outer-name)
gen_png.py:41:8: W0621: Redefining name 'f' from outer scope (line 147) (redefined-outer-name)
gen_png.py:41:8: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:45:12: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:51:12: W1510: Using subprocess.run without explicitly set `check` is not recommended. (subprocess-run-check)
gen_png.py:54:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:54:19: W0621: Redefining name 'files' from outer scope (line 88) (redefined-outer-name)
gen_png.py:55:8: W0621: Redefining name 'f' from outer scope (line 147) (redefined-outer-name)
gen_png.py:57:8: W0621: Redefining name 'stream' from outer scope (line 100) (redefined-outer-name)
gen_png.py:55:8: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:56:8: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
gen_png.py:61:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:62:4: W0621: Redefining name 'stream' from outer scope (line 100) (redefined-outer-name)
gen_png.py:66:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:68:4: W0621: Redefining name 'stream' from outer scope (line 100) (redefined-outer-name)
gen_png.py:69:4: W0621: Redefining name 'output' from outer scope (line 103) (redefined-outer-name)
gen_png.py:77:0: C0116: Missing function or method docstring (missing-function-docstring)
gen_png.py:88:8: R1734: Consider using [] instead of list() (use-list-literal)
gen_png.py:92:4: R1722: Consider using sys.exit() (consider-using-sys-exit)
gen_png.py:97:4: C0103: Constant name "gitCommand" doesn't conform to UPPER_CASE naming style (invalid-name)
gen_png.py:109:8: R1722: Consider using sys.exit() (consider-using-sys-exit)
gen_png.py:139:0: R1721: Unnecessary use of a comprehension, use list(glob.glob('svg/**/*.svg', recursive=True)) instead. (unnecessary-comprehension)
gen_png.py:145:8: R1722: Consider using sys.exit() (consider-using-sys-exit)
gen_png.py:25:0: W0611: Unused import platform (unused-import)
-----------------------------------
Your code has been rated at 4.89/10
Selection for file format like SVG or PNG (also resolutions)
Maybe enable direct download on click
The following frogs need to be squared:
There are some invisible rectangles in a lot of svgs which don't have a purpose. Those should get removed.
create a feature to render all existing emojis on the website
hop and quack until it is done
The following errors (commit dedcfe8) currently exist:
--------------------
./svg/FrogOS_assets/pointyfrogmouse.svg has viewbox -width: 57.39 and -height: 57.389998
./svg/FrogOS_assets/pointyfrogmouse.svg has width: 57.389999 but viewbox-width: 57.39
./svg/FrogOS_assets/pointyfrogmouse.svg has height: 57.389999 but viewbox-height: 57.389998
./svg/biFrog.svg has viewbox -width: 44.999998 and -height: 45
./svg/biFrog.svg has width: 45 but viewbox-width: 44.999998
./svg/friesi.svg has viewbox -width: 45 and -height: 45.000002
./svg/friesi.svg has height: 45 but viewbox-height: 45.000002
./svg/frogPirate.svg has viewbox -width: 45.78 and -height: 45.779997
./svg/frogPirate.svg has width: 45.779999 but viewbox-width: 45.78
./svg/frogPirate.svg has height: 45.779999 but viewbox-height: 45.779997
./svg/frogSunglasses.svg has viewbox -width: 45.000001 and -height: 45
./svg/frogSunglasses.svg has width: 45 but viewbox-width: 45.000001
./svg/frogThumbsDown.svg has viewbox -width: 44.999999 and -height: 45
./svg/frogThumbsDown.svg has width: 45 but viewbox-width: 44.999999
./svg/frogThumbsUp.svg has viewbox -width: 44.999999 and -height: 45
./svg/frogThumbsUp.svg has width: 45 but viewbox-width: 44.999999
./svg/frogWaving.svg has viewbox -width: 45 and -height: 45.000001
./svg/frogWaving.svg has height: 45 but viewbox-height: 45.000001
./svg/frogbeercan.svg has viewbox -width: 92.999996 and -height: 93
./svg/frogbeercan.svg has width: 93mm but viewbox-width: 92.999996
./svg/frogbeercan.svg has height: 93mm but viewbox-height: 93
./svg/frogwhip.svg has viewbox -width: 495.00001 and -height: 495
./svg/frogwhip.svg has width: 495 but viewbox-width: 495.00001
./svg/logos/FrogRyujinx.svg is only one line!
./svg/logos/frogAndroid.svg is only one line!
./svg/logos/frogApple.svg is only one line!
./svg/logos/frogCemu.svg is only one line!
./svg/logos/frogCord.svg is only one line!
./svg/logos/frogDebian.svg is only one line!
./svg/logos/frogDolphin.svg is only one line!
./svg/logos/frogDolphinOld.svg is only one line!
./svg/logos/frogGnome.svg is only one line!
./svg/logos/frogSignal.svg is only one line!
./svg/logos/frogSkyline.svg is only one line!
./svg/logos/frogWindows10.svg is only one line!
./svg/logos/frogYuzu.svg is only one line!
./svg/logos/frogbuntu.svg has viewbox -width: 11.906249 and -height: 11.906252
./svg/logos/frogbuntu.svg has width: 45 but viewbox-width: 11.906249
./svg/logos/frogbuntu.svg has height: 45 but viewbox-height: 11.906252
./svg/logos/gentooFrog.svg is only one line!
./svg/logos/nixFrog.svg is only one line!
./svg/logos/nvidifrog.svg has width: 20mm but viewbox-width: 20
./svg/logos/nvidifrog.svg has height: 20mm but viewbox-height: 20
./svg/metalFrog.svg has viewbox -width: 44.999999 and -height: 45.000001
./svg/metalFrog.svg has width: 45 but viewbox-width: 44.999999
./svg/metalFrog.svg has height: 45 but viewbox-height: 45.000001
./svg/okfrog.svg has viewbox -width: 45 and -height: 45.000001
./svg/okfrog.svg has height: 45 but viewbox-height: 45.000001
./svg/plagfrog.svg has width: 68mm but viewbox-width: 68
./svg/plagfrog.svg has height: 68mm but viewbox-height: 68
./svg/pointyfrog.svg has viewbox -width: 45.000001 and -height: 44.999999
./svg/pointyfrog.svg has width: 45 but viewbox-width: 45.000001
./svg/pointyfrog.svg has height: 45 but viewbox-height: 44.999999
./svg/pomelo.svg has viewbox -width: 910 and -height: 909.99998
./svg/pomelo.svg has height: 910 but viewbox-height: 909.99998
./svg/thumbsdownfrog.svg has viewbox -width: 26.000001 and -height: 26
./svg/thumbsdownfrog.svg has width: 26 but viewbox-width: 26.000001
./svg/thumbsupfrog.svg has viewbox -width: 26.000001 and -height: 26
./svg/thumbsupfrog.svg has width: 26 but viewbox-width: 26.000001
This is going to be a new argument i.e. -r, --resolution
.
We will refactor the existing argument code to use https://docs.python.org/3/library/argparse.html and then add the new option.
The selector already has a class assigned to style, but it still needs the css to look pretty. :)
placing a shell script with the functional content into the project root would allow people to locally check their files before submitting a PR
this shell script should then be used for the github action
frogChad
๐ธ + ๐งโ๐
๐ธ + ๐จโโ๏ธ
The following frogs currently don't render well in anything other than inkscape:
Ported from gitea
https://git.froggi.es/Riesi/frog_emojis/issues/4
git tag -m "my version 1.4"
content something like:
New:
coolFrog
Removed:
gonnerFrog
Moved:
namerFrog -> renamerFrog
Frogcoins are too bright/universally orange. While they are recognizable when blown up in size, regular ones - and, most of all, small reaction ones - blur almost totally, making them look like honey (?) bubbles. Contrast on old one was much better.
From Metroid Prime echoes (used as the icon for Randovania)
๐ธ + ๐จโ๐ณ
๐ธ + ๐ซก
this might help finding frogs in the list
Implementation will probably just use the hidden
attribute and store the emojis in a vector to go through
git option does not correctly parse renames from the git history
tool expects R100, but the rename can be R100-0 really
needs better parsing of git history diffs
๐ซ frog
Currently includes all of these emojis:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.