Git Product home page Git Product logo

ankush-0x90 / startcp-cli Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 383 KB

A CLI application for generating battlespace in seconds for online coding competitions with features like custom template configuration, backup language support, auto input output files generation, etc. But, currently available for Codechef and Codeforces.

License: MIT License

Shell 2.59% Python 97.41%
competitive-programming codechef codechef-solutions codeforces-api codechef-api python

startcp-cli's People

Stargazers

 avatar

Watchers

 avatar

startcp-cli's Issues

Fix Linting Issues In CI

Fix Linting Issues In CI

************* Module setup

  • setup.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • setup.py:1:0: W0611: Unused import os (unused-import)

  • setup.py:2:0: W0611: Unused import re (unused-import)

  • setup.py:4:0: W0611: Unused find_packages imported from setuptools (unused-import)
    ************* Module startcp.printer

  • startcp/printer.py:73:0: C0304: Final newline missing (missing-final-newline)

  • startcp/printer.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • startcp/printer.py:6:0: C0115: Missing class docstring (missing-class-docstring)

  • #7

  • startcp/printer.py:21:4: R0201: Method could be a function (no-self-use)

  • startcp/printer.py:24:4: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:24:4: R0201: Method could be a function (no-self-use)

  • startcp/printer.py:27:4: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:27:4: R0201: Method could be a function (no-self-use)

  • startcp/printer.py:30:4: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:30:4: R0201: Method could be a function (no-self-use)

  • startcp/printer.py:33:4: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:33:4: R0201: Method could be a function (no-self-use)

  • startcp/printer.py:37:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:38:8: W0612: Unused variable 'i' (unused-variable)

  • startcp/printer.py:42:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:43:8: W0612: Unused variable 'i' (unused-variable)

  • startcp/printer.py:47:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/printer.py:1:0: W0611: Unused import os (unused-import)
    ************* Module startcp.functions

  • startcp/functions.py:63:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)

  • startcp/functions.py:102:0: C0301: Line too long (109/100) (line-too-long)

  • startcp/functions.py:102:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/functions.py:103:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/functions.py:123:0: C0301: Line too long (199/100) (line-too-long)

  • startcp/functions.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • startcp/functions.py:20:7: W0703: Catching too general exception Exception (broad-except)

  • startcp/functions.py:24:0: C0103: Constant name "platform_id" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/functions.py:27:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:46:4: R1705: Unnecessary "else" after "return" (no-else-return)

  • startcp/functions.py:58:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:59:4: C0103: Constant name "platform_id" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/functions.py:59:4: W0603: Using the global statement (global-statement)

  • startcp/functions.py:70:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:85:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:93:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:101:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:114:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/functions.py:125:62: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)

  • startcp/functions.py:1:0: W0611: Unused import json (unused-import)

  • startcp/functions.py:2:0: W0611: Unused import requests (unused-import)

  • startcp/functions.py:5:0: W0611: Unused find_dotenv imported from dotenv (unused-import)

  • startcp/functions.py:3:0: C0411: standard import "import re" should be placed before "import requests" (wrong-import-order)

  • startcp/functions.py:4:0: C0411: standard import "import os" should be placed before "import requests" (wrong-import-order)
    ************* Module startcp.codeforces

  • startcp/codeforces.py:1:0: C0304: Final newline missing (missing-final-newline)
    ************* Module startcp.constants

  • startcp/constants.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • startcp/constants.py:4:0: C0103: Constant name "startcp_default_folder" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:9:0: C0103: Constant name "is_setup_done" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:10:0: C0103: Constant name "project_path" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:11:0: C0103: Constant name "codechef" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:12:0: C0103: Constant name "use_template" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:13:0: C0103: Constant name "main_lang_template_path" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:14:0: C0103: Constant name "backup_lang_template_path" doesn't conform to UPPER_CASE naming style (invalid-name)

  • startcp/constants.py:18:0: C0103: Constant name "codechef_contest_api_url" doesn't conform to UPPER_CASE naming style (invalid-name)
    ************* Module startcp.codechef

  • startcp/codechef.py:18:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/codechef.py:21:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)

  • startcp/codechef.py:51:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)

  • startcp/codechef.py:59:0: C0301: Line too long (115/100) (line-too-long)

  • startcp/codechef.py:59:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/codechef.py:61:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/codechef.py:63:0: C0301: Line too long (112/100) (line-too-long)

  • startcp/codechef.py:64:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens)

  • startcp/codechef.py:66:0: C0301: Line too long (122/100) (line-too-long)

  • startcp/codechef.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • startcp/codechef.py:14:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/codechef.py:18:7: C0113: Consider changing "not codechef_comp_id == ''" to "codechef_comp_id != ''" (unneeded-not)

  • startcp/codechef.py:29:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/codechef.py:34:4: W0702: No exception type(s) specified (bare-except)

  • startcp/codechef.py:38:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/codechef.py:85:16: W0622: Redefining built-in 'id' (redefined-builtin)

  • startcp/codechef.py:71:23: W0703: Catching too general exception Exception (broad-except)

  • startcp/codechef.py:45:4: R1702: Too many nested blocks (8/5) (too-many-nested-blocks)

  • startcp/codechef.py:85:16: C0103: Variable name "id" doesn't conform to snake_case naming style (invalid-name)

  • startcp/codechef.py:38:0: R0912: Too many branches (16/12) (too-many-branches)
    ************* Module startcp.main

  • startcp/main.py:1:0: C0114: Missing module docstring (missing-module-docstring)

  • startcp/main.py:8:0: C0116: Missing function or method docstring (missing-function-docstring)

  • startcp/main.py:4:0: W0611: Unused printer imported from startcp (unused-import)


Your code has been rated at 6.02/10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.