Giter VIP home page Giter VIP logo

beefore's Introduction

logo

BeeWare

Python Versions PyPI Version Maturity BSD License Build Status Discord server

BeeWare is a collection of tools and libraries for building and distributing native applications in Python.

For an introduction to the full BeeWare suite, we recommend running the BeeWare Tutorial.

Community

You can talk to the BeeWare community through:

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.

Contributing

If you experience problems with BeeWare, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Translations

Translation status

We manage translations using Weblate.

Translation status

If you'd like to contribute to the translation effort, join the #translations channel on Discord and introduce yourself!

beefore's People

Contributors

cflee avatar freakboy3742 avatar glasnt avatar jacebrowning avatar rachelbunder avatar rhyspowell avatar therealphildini avatar zifn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beefore's Issues

greetings form the neighbors

Hi there, long time no see!

a college just send the link for this project. Looks great. So great in fact, that me and a bunch of friends have been working on something similar. Maybe we can join forces?

I did present it on DjangoConEU2018, but I think @freakboy3742 was making too many bee jokes to notice what I was talking about ;)

Anyhow, there are some differences on how we implemented this concept. We did use AWS lambda to run all linters. We also used GitHubs new checks API. This allows users to stay on GitHub and receive feedback immediately.

Maybe it doesn't make sense to combine those to project after all, in any case we made it open source. Feel free to borrow code if you need it :)

https://lambdalint.github.io
https://github.com/lambdalint

Best
-Joe

Pip --outdated ran as check

I was wondering if there is the possibility to add to the check something like

pip list --outdated

and fail the check if new packages have been updated. Maybe we need some kind of flexibility, so we want to pass a certain amount of packages with versions that could be skipped?

Just a thoughts.

Support github access tokens

Access tokens Are a necessity for users who have Two-Factor-Authentication enabled.
They should be Available to be used instead of a password, perhaps taken from an environment variable automatically

Only check the changed lines

Sometimes, some changes sneak into master that don't pass the checks.

If afterwards there a pull request is made in a completely different section of the code - the same checks will fail! with no fault of the contributor.

A possible fix for this is to only run checks on the lines that are changed by the PR.

Local hook mode

It would be really handy for beefore to be able to be run as a pre-push git hook.

In order to make that happen, beefore should take an option like --local-sha that skips trying to login to github and runs the checks on the local diff.

Add the ability to run checks locally

Beefore currently has some implicit assumptions that it's running on a PR that is active, and on GitHub. While this is an important use case, it's also important that we can run against a local git checkout.

404 on https://beefore.readthedocs.io/

The readme says docs are at https://beefore.readthedocs.io/
but today I got a creative asciiart instead:

Read the Docs

Log in


    \          SORRY            /
     \                         /
      \    This page does     /
       ]   not exist yet.    [    ,'|
       ]                     [   /  |
       ]___               ___[ ,'   |
       ]  ]\             /[  [ |:   |
       ]  ] \           / [  [ |:   |
       ]  ]  ]         [  [  [ |:   |
       ]  ]  ]__     __[  [  [ |:   |
       ]  ]  ] ]\ _ /[ [  [  [ |:   |
       ]  ]  ] ] (#) [ [  [  [ :===='
       ]  ]  ]_].nHn.[_[  [  [
       ]  ]  ]  HHHHH. [  [  [
       ]  ] /   `HH("N  \ [  [
       ]__]/     HHH  "  \[__[
       ]         NNN         [
       ]         N/"         [
       ]         N H         [
      /          N            \
     /           q,            \
    /                           \

Copyright 2010 - 2016. Created by Eric Holscher, Charles Leifer, and Bobby Grace for the 2010 Django Dash.
GitHub | Docs. Made by humans. Funded by readers like you.

//Update;
Readthedocs refers to several required steps;
1.Account on Readthedocs to link to the code here on github.
https://read-the-docs.readthedocs.io/en/latest/getting_started.html#import-docs
2.Folder /docs to contain the Sphinx website, constructed via make after pip install sphinx.
The first tutorial is here https://youtu.be/oJsUvBQyHBs?t=446

Part [1] the admin here would need to do.
Part [2] I could at least make a hello world type of doc, if that is agreeable.

Javacheckstyle check not parsing line numbers correctly

Per beeware/voc#640, it seems that checkstyle errors may not be picked up correctly by javacheckstyle.py due to the regex used to parse the checkstyle output.

I was just running ant checkstyle locally and I saw two slight variants of error outputs, the latter with no column number:

[checkstyle] [ERROR] /Users/cflee/Projects/voc-dev/voc/python/common/org/python/types/Bytes.java:1237:18: '{' is not preceded with whitespace. [WhitespaceAround]
[checkstyle] [ERROR] /Users/cflee/Projects/voc-dev/voc/python/common/org/python/types/Str.java:1: File length is 2,374 lines (max allowed is 2,000). [FileLength]

Feeding these lines (separately) into https://pythex.org with LINT_OUTPUT, the line number captured is 18 for the former instead of 1237. This seems like it will cause the checkstyle error to get ignored, as line 18 didn't change, so it doesn't exist in the diff.

The current LINT_OUTPUT captures the line number 1 correctly for the latter, so I'm just including it to make sure both output cases are handled in the fix. But it is less important, since even if parsed correctly, any non-line-1 change that triggers a file-level error (and listed as line 1 by checkstyle) will get ignored by the same heuristic.

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.