digitalr00ts / fizzbuzzx Goto Github PK
View Code? Open in Web Editor NEWAn unnecessarily over-engineered fizzbuzz solution
License: Apache License 2.0
An unnecessarily over-engineered fizzbuzz solution
License: Apache License 2.0
Implementing Continuous Integration (CI) would catch such issues as seen in issue #2.
Docs:
Adding a REST API will enable us to curl
for Fizzbuzz from a web endpoint. Once it can run as a service, we can hit from anywhere, i.e. SMS, chatbots, etc.
We should use OpenAPI as it is a common standard and comes with many features out of the box, including self-documenting. The Python library to help us with this should beFastAPI as it is high performance and will check our inputs. (validating user input, especially on the web, is a good way to prevent getting pwned).
Resources to get started:
Dunno which one ATM:
Lets publish to https://test.pypi.org/. See, PyPA's PyPUG: Using TestPyPI
Resources:
PyPA = Python Packaging Authority
PyPUG = Python Packaging User Guide
ERROR: lint: commands failed
:
************* Module fizzbuzz
fizzbuzz.py:24:0: C0112: Empty class docstring (empty-docstring)
fizzbuzz.py:109:0: C0116: Missing function or method docstring (missing-function-docstring)
fizzbuzz.py:113:8: W0707: Consider explicitly re-raising using the 'from' keyword (raise-missing-from)
fizzbuzz.py:141:8: R1722: Consider using sys.exit() (consider-using-sys-exit)
ERROR: style: commands failed
:
1 file would be reformatted, 3 files would be left unchanged.
I am guessing the cookiecutter-template
tag on this project was a mistake. ๐
Pull request #46 introduced failing tests.
Add description to repo. Both in readme and "about" in Github.
I am proposing this project be renamed to FizzBuzzX.
My reasons include:
setup.cfg
do not match right now anyways.@pelmini what are your thoughts?
RFC = Request For Comments
Can we get 100% coverage?
Feeling extra froggy? Lets try property based testing with Hypothesis. (maybe this should be a separate ticket)
Now that we have code coverage, we should integrate w/ Codecov.
We need to decide what TLD we are going to use.
I do suggest Namecheap as our registrar as, I know what features they have, they are not evil, they support DNSSEC, and we can share admin of domains.
I am assigning the ticket to @pelmini to gain experience operating a website and DNS.
Still failing tests ๐
style run-test: commands[0] | black --check .
would reformat /home/digitalr00ts/Documents/git/fizzbuzz/fizzbuzz.py
Oh no! ๐ฅ ๐ ๐ฅ
1 file would be reformatted, 3 files would be left unchanged.
I think this highlights the need to prioritize getting CI setup soon, so I opened issue #7 ๐ .
Originally posted by @CMeza99 in #2 (comment)
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.