ArduPlane, ArduCopter, ArduRover, ArduSub source
Go to file
cclauss f5d23f8701 CI: Run flake8 on Python 3.7
Yet another attempt at #7131 because without automated test, these _undefined names_ keep creeping back into the codebase: #9225, #9226, #9229, #9788, #10038, and a new one below...

[flake8](http://flake8.pycqa.org) testing of https://github.com/ArduPilot/ardupilot on Python 3.7.1

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Tools/autotest/sim_vehicle.py:396:39: F821 undefined name 'autotest'
    swarminit_filepath = os.path.join(autotest, "swarminit.txt")
                                      ^
1     F821 undefined name 'autotest'
```
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2019-01-23 09:35:55 +11:00
.github Git: update contributing page to use ArduPilot instead of APM 2018-10-22 15:36:36 +09:00
AntennaTracker GCS_Common: clarify enumeration item name MSG_NEXT_WAYPOINT 2019-01-22 09:01:57 +11:00
APMrover2 Rover: adjust LOG_BITMASK description to remove APM2 2019-01-20 09:35:32 +09:00
ArduCopter Copter: 3.6.5-rc3 release notes 2019-01-21 10:08:40 +09:00
ArduPlane Plane: tailsitter forward transition bugfix 2019-01-22 12:55:47 +11:00
ArduSub GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
benchmarks waf: add gbenchmark Waf tool 2015-12-03 07:54:31 +11:00
docs docs: Add ardusub 2018-05-08 09:58:13 +10:00
libraries HAL_ChibiOS: enable flash logging on Omnibus and speedybeef4 2019-01-23 09:00:42 +11:00
mk build: remove remaining make build 2018-12-22 11:06:59 +11:00
modules waf: submodule update 2019-01-22 12:56:05 +11:00
tests tests: add macro for printing test parameter 2016-05-16 19:08:35 -03:00
Tools Tools: removed F4Light bootloader 2019-01-21 21:57:21 +11:00
.dir-locals.el emacs: add a .dir-locals.el 2016-10-24 09:41:31 -02:00
.editorconfig all: Change the editorconfig so that it won't want to reformat 2014-07-09 19:03:18 -07:00
.flake8 Global: add .flake8 2018-08-15 10:16:13 +10:00
.gitattributes Revert ".gitattributes: automatically clean up newlines in source files" 2015-04-20 11:04:59 +09:00
.gitignore .gitignore: Ignore parameter metadata files 2018-12-11 10:24:40 +11:00
.gitmodules modules: removed PX4NuttX and PX4Firmware 2018-12-22 11:06:59 +11:00
.pydevproject AP_Relay: add -1:Disabled to list of param values 2014-05-15 17:13:37 +09:00
.travis.yml CI: Run flake8 on Python 3.7 2019-01-23 09:35:55 +11:00
appveyor.yml CI: Simplified Appveyor CI script 2019-01-06 18:32:02 +11:00
BUILD.md CI: removed px4 builds 2018-12-22 11:06:59 +11:00
COPYING.txt cmake overhaul, cleaned up readme, added license 2011-09-30 17:32:51 -04:00
Dockerfile Docker: add Dockerfile for Docker container support 2018-09-05 11:29:33 +10:00
Doxyfile.in cfg: Fix typos 2016-05-13 19:20:07 -03:00
Makefile build: default to "make help" 2018-12-22 11:06:59 +11:00
README.md README: Assign scripting subsystem 2018-11-14 01:41:35 +00:00
reformat.sh reformat: remove mention to .pde files 2016-05-07 22:55:48 -03:00
uncrustify_cpp.cfg cfg: Fix typos 2016-05-13 19:20:07 -03:00
uncrustify_headers.cfg cfg: Fix typos 2016-05-13 19:20:07 -03:00
Vagrantfile CI: removed px4 builds 2018-12-22 11:06:59 +11:00
waf waf: use Python from environment 2018-11-13 10:30:34 +11:00
wscript waf: added --sitl-flash-storage option 2019-01-21 20:59:00 +11:00

ArduPilot Project

Gitter

Build SemaphoreCI

Build Travis

Coverity Scan Build Status

The ArduPilot project is made up of:

User Support & Discussion Forums

Developer Information

Top Contributors

How To Get Involved

License

The ArduPilot project is licensed under the GNU General Public License, version 3.

Maintainers

Ardupilot is comprised of several parts, vehicles and boards. The list below contains the people that regularly contribute to the project and are responsible for reviewing patches on their specific area. See also the list of developers with merge rights.