Giter Club home page Giter Club logo

Comments (6)

huan avatar huan commented on September 10, 2024 1

I believe it's ready to go now:

image

from magic-mirror.

Duan-JM avatar Duan-JM commented on September 10, 2024

I am using flake8 for now. Below is my config refer to the pytorch python linting.

  1. Install
pip3 install flake8 flake8-mypy flake8-bugbear flake8-comprehensions flake8-executable flake8-pyi mccabe pycodestyle pyflakes
  1. .flake8 file
[flake8]
select = B,C,E,F,P,T4,W,B9
max-line-length = 120
# C408 ignored because we like the dict keyword argument syntax
# E501 is not flexible enough, we're using B950 instead
ignore =
    E203,E305,E402,E501,E721,E741,F403,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303,
    # these ignores are from flake8-bugbear; please fix!
    B007,B008,
    # these ignores are from flake8-comprehensions; please fix!
    C400,C401,C402,C403,C404,C405,C407,C411,
per-file-ignores = __init__.py: F401
exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,torch/lib/include,torch/lib/tmp_install,build,torch/include,*.pyi,.git

from magic-mirror.

Duan-JM avatar Duan-JM commented on September 10, 2024

I tried to add this repo to Travis CI, sadly and found that I don't have enough rights to enable this repo on Travis. Maybe it is great to enable the CI by the owner, and we just modify the .travis.yaml to configure the CI. And also it will be appreciated to give a hint on how to check the availability to the repo, which does not belong to me.


I did my efforts under the following steps:

  1. Log into the Travis from the official website here with my GitHub account.
  2. Choose the magic-mirror under the organize BUPT.
  3. Try to check if repo have enabled the CI. (Failed)
    • I could only check the availability for my own repo. (No insufficient rights)
    • I tried to google How to check the availability to the CI, but no useful information get.

from magic-mirror.

huan avatar huan commented on September 10, 2024

Yes, it seems that only the repo owner can enable it.

I'll try to make it work later, please get your configure file ready to go!

from magic-mirror.

Duan-JM avatar Duan-JM commented on September 10, 2024

from magic-mirror.

Duan-JM avatar Duan-JM commented on September 10, 2024

Awesome, so happy to see that, the file will be ready to go recently.

from magic-mirror.

Related Issues (17)

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.