Keith Burzinski
9c8976be13
[CI] Update clang-tidy to 18.1.3 ( #7822 )
2024-12-03 11:29:45 +13:00
Keith Burzinski
4fbf41472a
[CI] Add/update some system include paths ( #7831 )
2024-11-25 17:41:27 -06:00
Keith Burzinski
1cf4818640
[CI] Use a list when reading idedata for includes ( #7535 )
2024-10-04 21:07:49 +13:00
Keith Burzinski
215f26fbe4
[CI] Remove `sorted
` from library include dirs ( #7526 )
2024-10-02 13:08:12 +13:00
tomaszduda23
f13cf1f7a0
adjust to new python pre-commit hooks ( #7178 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-08-12 16:52:09 +12:00
Jesse Hills
73f786c606
[code-quality] Organise script imports ( #7198 )
2024-08-06 22:46:37 -05:00
Keith Burzinski
761aae6f89
[CI] Allow clang-tidy to see IDF components ( #6903 )
...
* Allow clang-tidy to see IDF components
* Remove camera, add tflite-micro
2024-06-13 05:15:38 -05:00
Markus
d1758a46bd
Use clang-apply-replacements when clang-apply-replacements-14 does not exist ( #6684 )
2024-05-07 07:17:03 +12:00
Clyde Stubbs
a2e152ad12
clang-format and clang-tidy scripts: More robust algorithm to find correct executable ( #6041 )
...
* More robust algorithm to find correct executable
* Revise message wording
* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.
* Extracted get_binary to helpers.py. Use execptions for clean exit.
* Add parameter types
* clang-{tidy,format} in requirements_test.txt
clean up script exit
* Kill processes on ^C
* Move clang-tidy and clang-format into requirements_dev.txt
2024-01-02 23:00:52 -06:00
dependabot[bot]
cd514b140e
Bump platformio from 6.1.7 to 6.1.9 ( #5066 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 14:31:49 +12:00
Sergey Dudanov
cd72a2ed7e
Bump clang-tidy from 11 to 14 ( #5160 )
2023-07-31 07:44:56 +12:00
Jesse Hills
c2e198311c
Update esp32 arduino and platform versions ( #3564 )
2022-11-21 11:49:30 +13:00
Jesse Hills
40e06c9819
Raise minimum python version to 3.8 ( #3176 )
2022-02-10 09:55:11 +01:00
Oxan van Leeuwen
d8e719d1c4
Support clang-tidy for ESP32 variants ( #3001 )
2022-01-05 21:30:15 +01:00
Oxan van Leeuwen
ffea3597f4
Set correct include_dir in platformio.ini ( #2999 )
2022-01-04 21:59:34 +01:00
Oxan van Leeuwen
193d3e0206
Fix clang-tidy with multiple ESP32 toolchains installed ( #2998 )
2022-01-05 08:34:17 +13:00
Oxan van Leeuwen
00965fe19e
Consistently format errors in CI scripts ( #2762 )
2021-11-26 09:54:11 +13:00
Otto Winter
8aa72f4c1e
Neopixelbus redo method definitions ( #2616 )
2021-11-11 07:35:31 +13:00
Oxan van Leeuwen
0e4f1ac40d
Fix default environment for clang-tidy ( #2420 )
...
* Drop unnecessary platformio call from script/lint-cpp
* Default environment for clang-tidy to esp32-tidy
2021-09-30 16:24:02 +02:00
Otto Winter
aec02afcdc
Fix clang-tidy header filter ( #2385 )
...
* Fix clang-tidy header filter
* Allow private members
* Fix clang-tidy detections
* Run clang-format
* Fix remaining detections
* Fix graph
* Run clang-format
2021-09-24 18:02:28 +02:00
Oxan van Leeuwen
637b55bfbf
Allow compilation against IDF from repository ( #2355 )
...
* Fix src_filter in platformio.ini after src_dir change
* Add -Wno-nonnull-compare to platformio.ini as well
* Create default sdkconfig for static analysis
* Add more compiler flags to clang ignore list
* Clean-up platformio.ini
* Remove unnecessary blank line
* Fix accidentally dropped library
* Don't gitignore sdkconfig.defaults
Co-authored-by: Otto winter <otto@otto-winter.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-21 17:12:17 +02:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-20 11:47:51 +02:00
Oxan van Leeuwen
924df1e7de
Run clang-tidy against Arduino 3 ( #2146 )
...
* Add macros header with more usable Arduino version defines
* Change Arduino version checking to use our version defines
* Add missing ESP8266 check
* Rename Arduino version macro to ARDUINO_VERSION_CODE
* Upgrade clang-tidy to use Arduino 3
* Fix clang-tidy warnings
* Upgrade NeoPixelBus to upstream 2.6.7
* Use Arduino-version-appropriate API to set redirect flags
* Remove now unnecessary CLANG_TIDY ifdefs
* Add preprocessor hackery to avoid including pgmspace.h
* Bump base image to 4.1.1 and update lint
* Fix nfctag
* Fix make_unique ambiguous
* Fix ignore name
* Fix ambiguous v2
* Remove unused begin
* Cast time_t to prevent issues on platforms where time_t is 32bit
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:55:04 +02:00
Oxan van Leeuwen
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:11:27 +02:00
Oxan van Leeuwen
bf5f846fc6
Refactor clang-tidy script to use actual compiler flags and includes ( #2133 )
...
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-08-09 22:43:18 +02:00
Oxan van Leeuwen
3749c11f21
Fix clang-format script behaviour without -i + code cleanup ( #2002 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-07-26 09:54:32 +12:00
Stefan Agner
13fe9e83fa
Use Clang 11 ( #1846 )
2021-06-08 22:16:17 +02:00
Otto Winter
52639a0a7c
Cleanup web server prometheus integration ( #1192 )
2020-07-27 12:07:05 +02:00
Otto Winter
cf703f6ac4
GH Actions Update ( #1134 )
2020-07-14 14:34:44 +02:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter
cdb9c59662
Add ADE7953 Support ( #593 )
...
* Add ADE795 support
* Lint
* Fix
* Fix, add test
2019-10-16 13:19:41 +02:00
Otto Winter
422754ed63
Lint
2019-05-24 17:20:06 +02:00
Otto Winter
f811b1157c
Updates for 1.13 ( #546 )
...
* Update CI matcher
* Check Executable bit
* Quicklint
* Updates
* Allow pm1.0 and pm10.0 for PMS5003ST
Fixes https://github.com/esphome/feature-requests/issues/225
* PowerSupplyRequester
* Lint
* Include debug data in generated main.cpp
* Updates
* Auto-select bit_depth
* Updates
2019-05-12 23:04:36 +02:00